All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface iceberg.APCpath.connectors.StreamConnectorReaderIF

public interface StreamConnectorReaderIF
extends Serializable
StreamConnectorReaderIF


Method Index

 o close()
close a connector after sending a single ADU (connectors can be re-opened after a close)
 o init(int)
init is called when the connector stub is attached to an operator
 o kill()
kill a connector when it's no longer useful (e.g., the path is being destroyed)
 o open()
open a connector for I/O of a single ADU (application data unit)
 o read()
 o read(byte[])
reads up to buf.length bytes into buf[].

Methods

 o 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.

 o read
 public abstract DatagramPacket read() throws IOException
 o init
 public abstract void init(int port) throws IOException
init is called when the connector stub is attached to an operator

 o open
 public abstract void open() throws IOException
open a connector for I/O of a single ADU (application data unit)

 o close
 public abstract void close() throws IOException
close a connector after sending a single ADU (connectors can be re-opened after a close)

 o 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