com.ibm.etill.framework.io
Interface ComPoint
- All Known Implementing Classes:
- ServerSocketComPoint, SocketComPoint
- public interface ComPoint
A ComPoint is a listening point for a specific communication protocol.
Each ComPoint is tied to a specific ETillConnection, in that the ComPoint
has prior knowledge about the format of data being passed through the
listening point.
Basically a ComPoint knows how to open one or many connections
to another application, which protocol to use to write to or read from that
application and how to close the connection(s).
If no connection can be established (for example if the remote
application died) an IOException is thrown.
Method Summary |
ETillConnection |
establishConnection()
A ComPoint establishes one or more ETillConnection
communication connections (ComPoints) for a given
medium(Socket, File, email). |
COMPOINT_OPEN
public static final int COMPOINT_OPEN
COMPOINT_CLOSED
public static final int COMPOINT_CLOSED
establishConnection
public ETillConnection establishConnection()
throws IOException
- A ComPoint establishes one or more ETillConnection
communication connections (ComPoints) for a given
medium(Socket, File, email).
- Returns:
- An ETillConnection object.