class Channel


Inheritance:


Public Methods

Channel()
virtual ~Channel()
virtual char* addToProgram(void)
virtual int setUpShadow(void)
virtual int setUpActor(void)
virtual int setNextAddress(const ChannelAddress &theAddress)
virtual ChannelAddress* getLastSendersAddress(void)
virtual int getDbTag(void)
virtual int sendObj(int commitTag, MovableObject &theObject, ChannelAddress *theAddress =0)
virtual int recvObj(int commitTag, MovableObject &theObject, FEM_ObjectBroker &theBroker, ChannelAddress *theAddress =0)
virtual int sendMsg(int dbTag, int commitTag, const Message &theMessage, ChannelAddress *theAddress =0)
virtual int recvMsg(int dbTag, int commitTag, Message &theMessage, ChannelAddress *theAddress =0)
virtual int sendMatrix(int dbTag, int commitTag, const Matrix &theMatrix, ChannelAddress *theAddress =0)
virtual int recvMatrix(int dbTag, int commitTag, Matrix &theMatrix, ChannelAddress *theAddress =0)
virtual int sendVector(int dbTag, int commitTag, const Vector &theVector, ChannelAddress *theAddress =0)
virtual int recvVector(int dbTag, int commitTag, Vector &theVector, ChannelAddress *theAddress =0)
virtual int sendID(int dbTag, int commitTag, const ID &theID, ChannelAddress *theAddress =0)
virtual int recvID(int dbTag, int commitTag, ID &theID, ChannelAddress *theAddress =0)

Documentation

Channel is an abstract class, i.e. no instances of Channel should exist. A Channel is a point of communication in a program, a mailbox to/from which data enters/leaves a program. Channels are objects through which the objects in the current processes address space can interact with objects in another processes address space. A channel in one process space is associated with a channel in the address space of another process space. The interaction is in the form of data sent between the two processes along the connection line.

Channel()

virtual ~Channel()

virtual char* addToProgram(void)

virtual int setUpShadow(void) =0;

virtual int setUpShadow(void)

A method invoked in the local address space by a shadow object. The method is to be invoked concurrently with a setUpShadow() invocation on a channel object in all the remote actor processes.

virtual int setUpActor(void)

A method invoked in the remote address space by the actor. The method is invoked concurrently with a corresponding setUpShadow() invocation on a channel in a local actor process by the shadow object that created the running actor process. If the method fails returns a negative number. For actors with only one Channel this should cause the termination of the actor.

virtual int setNextAddress(const ChannelAddress &theAddress)

A method invoked to set specify the next address that the next messages to be sent if sendMessage() or received if recvMessage() is invoked with a null pointer

virtual ChannelAddress* getLastSendersAddress(void)

virtual int getDbTag(void)

virtual int sendObj(int commitTag, MovableObject &theObject, ChannelAddress *theAddress =0)

virtual int recvObj(int commitTag, MovableObject &theObject, FEM_ObjectBroker &theBroker, ChannelAddress *theAddress =0)

virtual int sendMsg(int dbTag, int commitTag, const Message &theMessage, ChannelAddress *theAddress =0)

virtual int recvMsg(int dbTag, int commitTag, Message &theMessage, ChannelAddress *theAddress =0)

virtual int sendMatrix(int dbTag, int commitTag, const Matrix &theMatrix, ChannelAddress *theAddress =0)

virtual int recvMatrix(int dbTag, int commitTag, Matrix &theMatrix, ChannelAddress *theAddress =0)

virtual int sendVector(int dbTag, int commitTag, const Vector &theVector, ChannelAddress *theAddress =0)

virtual int recvVector(int dbTag, int commitTag, Vector &theVector, ChannelAddress *theAddress =0)

virtual int sendID(int dbTag, int commitTag, const ID &theID, ChannelAddress *theAddress =0)

virtual int recvID(int dbTag, int commitTag, ID &theID, ChannelAddress *theAddress =0)


Direct child classes:
TCP_Socket
MPI_Channel
FE_Datastore

alphabetic index Contents

this page has been generated automatically by a slightly modified version of doc++ for OpenSees

Copyright Contact Us