All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface iceberg.APCpath.services.ConnectorMgrIF

public interface ConnectorMgrIF
extends Remote
Connector Manager interface: manages the connections between operators running on the current iSpace node and another endpoint


Method Index

 o cleanUp(int, OperatorIF, String)
cleaning up the data structures related to this operator of a particular path with pathid, and for a given operator op.
 o createEndConn(int, OperatorIF, int)
opDest is the Reader, the destination of the data flow
 o createOperator(int, String)
creates an operator for the path with a given pathID, the operator's class name is given as "name".
 o createStartConn(int, OperatorIF, InetAddress, int, String)
createStartConn: opsource is the writer, the source of the data flow
 o initSockOp(int, DescrOperator, OperatorIF)
not really useful, used for testing special sock operators.
 o loadLocalOperator(int, DescrOperator, String, String)
loadLocalOperator: load the operator with given name, create an instance, set its CM, return the operator instance.
 o notifyInputFailure(String, int)
notifies the APC service that the operator with given name can no longer read input data, the input pipe for that operator is broken! just call repairPath of the APCIF.
 o notifyOutputFailure(String, int)
notifies the APC service that the operator with given name can no longer output its data, the output pipe for that operator is broken! just call repairPath of the APCIF.
 o setAPCService(APCIF)
let the connection manager remember the APC service that oversees this connection manager

Methods

 o createOperator
 public abstract OperatorIF createOperator(int pathid,
                                           String name) throws IllegalArgumentException, IllegalAccessException, InstantiationException, ClassNotFoundException, RemoteException
creates an operator for the path with a given pathID, the operator's class name is given as "name".

 o initSockOp
 public abstract int initSockOp(int pathid,
                                DescrOperator dLast,
                                OperatorIF opLast) throws RemoteException
not really useful, used for testing special sock operators.

 o loadLocalOperator
 public abstract OperatorIF loadLocalOperator(int pathid,
                                              DescrOperator thedescr,
                                              String name,
                                              String sessionID) throws ClassNotFoundException, IllegalArgumentException, InstantiationException, IllegalAccessException, IOException, RemoteException
loadLocalOperator: load the operator with given name, create an instance, set its CM, return the operator instance.

 o createEndConn
 public abstract ConnEntry createEndConn(int connType,
                                         OperatorIF opDest,
                                         int port) throws RemoteException, IOException
opDest is the Reader, the destination of the data flow

 o createStartConn
 public abstract ConnEntry createStartConn(int connType,
                                           OperatorIF opSource,
                                           InetAddress addr,
                                           int port,
                                           String sessionID) throws RemoteException, IOException
createStartConn: opsource is the writer, the source of the data flow

 o cleanUp
 public abstract void cleanUp(int pathid,
                              OperatorIF op,
                              String sessionID) throws RemoteException
cleaning up the data structures related to this operator of a particular path with pathid, and for a given operator op.

 o setAPCService
 public abstract void setAPCService(APCIF apc) throws IOException, RemoteException
let the connection manager remember the APC service that oversees this connection manager

 o notifyInputFailure
 public abstract void notifyInputFailure(String name,
                                         int pathID) throws IOException, RemoteException
notifies the APC service that the operator with given name can no longer read input data, the input pipe for that operator is broken! just call repairPath of the APCIF.

 o notifyOutputFailure
 public abstract void notifyOutputFailure(String name,
                                          int pathID) throws IOException, RemoteException
notifies the APC service that the operator with given name can no longer output its data, the output pipe for that operator is broken! just call repairPath of the APCIF.


All Packages  Class Hierarchy  This Package  Previous  Next  Index