org.yawlfoundation.yawl.procletService.connect
Interface JavaCPNInterface

All Known Implementing Classes:
JavaCPN

public interface JavaCPNInterface

JavaCPNInterface is the interface which defines the methods implemented by JavaCPN.

Version:
0.6
Author:
Guy Gallasch

Method Summary
 void accept(int port)
           
 void connect(String hostName, int port)
           
 void disconnect()
           
 ByteArrayOutputStream receive()
           
 void send(ByteArrayInputStream sendBytes)
           
 

Method Detail

connect

void connect(String hostName,
             int port)
             throws IOException
Throws:
IOException

accept

void accept(int port)
            throws IOException
Throws:
IOException

send

void send(ByteArrayInputStream sendBytes)
          throws SocketException
Throws:
SocketException

receive

ByteArrayOutputStream receive()
                              throws SocketException
Throws:
SocketException

disconnect

void disconnect()
                throws IOException
Throws:
IOException


Copyright © 2004-2012 The YAWL Foundation.