All Packages Class Hierarchy This Package Previous Next Index
Interface iceberg.APCpath.connectors.StreamConnectorReaderIF
- public interface StreamConnectorReaderIF
- extends Serializable
StreamConnectorReaderIF
-
close()
- close a connector after sending a single ADU (connectors
can be re-opened after a close)
-
init(int)
- init is called when the connector stub is attached to an operator
-
kill()
- kill a connector when it's no longer useful (e.g., the
path is being destroyed)
-
open()
- open a connector for I/O of a single ADU (application data unit)
-
read()
-
-
read(byte[])
-
reads up to buf.length bytes into buf[].
read
public abstract int read(byte buf[]) throws IOException
- reads up to buf.length bytes into buf[]. returns the number
of bytes read, or -1 if no bytes were read because the connector
has been closed.
read
public abstract DatagramPacket read() throws IOException
init
public abstract void init(int port) throws IOException
- init is called when the connector stub is attached to an operator
open
public abstract void open() throws IOException
- open a connector for I/O of a single ADU (application data unit)
close
public abstract void close() throws IOException
- close a connector after sending a single ADU (connectors
can be re-opened after a close)
kill
public abstract void kill() throws IOException
- kill a connector when it's no longer useful (e.g., the
path is being destroyed)
All Packages Class Hierarchy This Package Previous Next Index