61 #include "utility/actor/channel/Socket.h" 62 #include "utility/actor/channel/Channel.h" 63 #include "../address/SocketAddress.h" 78 struct sockaddr_in addr_in;
82 struct sockaddr_in addr_in;
85 socklen_type addrLength;
92 unsigned int getPortNumber(
void)
const;
96 TCP_Socket(
unsigned int other_Port,
char *other_InetAddr);
101 virtual int setUpConnection(
void);
int sendMatrix(int dbTag, int commitTag, const Matrix &, ChannelAddress *theAddress=0)
Invoked to receive the data in the Matrix object theMatrix to another Channel object.
Definition: TCP_Socket.cpp:484
int recvObj(int commitTag, MovableObject &, FEM_ObjectBroker &, ChannelAddress *theAddress=0)
To receive the object theObj with the commit tag commitTag from a remote Channel whose address is giv...
Definition: TCP_Socket.cpp:325
int sendID(int dbTag, int commitTag, const ID &, ChannelAddress *theAddress=0)
Invoked to receive the data in the ID object theID to another Channel object.
Definition: TCP_Socket.cpp:657
Float vector abstraction.
Definition: Vector.h:93
char * addToProgram(void)
When creating remote actors the channels created in the actor space need to know how to contact the s...
Definition: TCP_Socket.cpp:706
int sendMsg(int dbTag, int commitTag, const Message &, ChannelAddress *theAddress=0)
A method invoked to send the data in the Message object theMsg to another Channel object...
Definition: TCP_Socket.cpp:398
int recvMsg(int dbTag, int commitTag, Message &, ChannelAddress *theAddress=0)
Invoked to send the data in the Message object theMsg to another Channel object.
Definition: TCP_Socket.cpp:355
Object that can move between processes.
Definition: MovableObject.h:99
int setNextAddress(const ChannelAddress &otherChannelAddress)
A method invoked to set specify the next address that the next messages to be sent if {sendMessage()}...
Definition: TCP_Socket.cpp:271
FEM_ObjectBroker is is an object broker class for the finite element method.
Definition: FEM_ObjectBroker.h:145
Vector of integers.
Definition: ID.h:93
TCP_Socket is a sub-class of channel.
Definition: TCP_Socket.h:71
int recvID(int dbTag, int commitTag, ID &, ChannelAddress *theAddress=0)
Invoked to receive the data in the ID object theID to another Channel object.
Definition: TCP_Socket.cpp:614
int sendObj(int commitTag, MovableObject &, ChannelAddress *theAddress=0)
To send the object theObj and the commit tag commitTag to a remote Channel whose address is given by ...
Definition: TCP_Socket.cpp:297
Channel is an abstract base class which defines the channel interface.
Definition: Channel.h:91
Message between processes.
Definition: Message.h:76
int recvMatrix(int dbTag, int commitTag, Matrix &, ChannelAddress *theAddress=0)
Invoked to receive the data in the Matrix object theMatrix to another Channel object.
Definition: TCP_Socket.cpp:440
int sendVector(int dbTag, int commitTag, const Vector &, ChannelAddress *theAddress=0)
Invoked to receive the data in the Vector object theVector to another Channel object.
Definition: TCP_Socket.cpp:571
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Definition: ChannelAddress.h:69
Matrix of floats.
Definition: Matrix.h:108
int recvVector(int dbTag, int commitTag, Vector &, ChannelAddress *theAddress=0)
Invoked to receive the data in the Vector object theVector to another Channel object.
Definition: TCP_Socket.cpp:528