XC Open source finite element analysis program
Public Member Functions | List of all members
XC::TCP_SocketNoDelay Class Reference

TCP_SocketNoDelay is a sub-class of channel. It is implemented with Berkeley stream sockets using the TCP protocol. Messages delivery is garaunteed. Communication is full-duplex between a pair of connected sockets. More...

#include <TCP_SocketNoDelay.h>

Inheritance diagram for XC::TCP_SocketNoDelay:
XC::Channel

Public Member Functions

 TCP_SocketNoDelay (unsigned int)
 
 TCP_SocketNoDelay (unsigned int other_Port, char *other_InetAddr)
 
virtual int setUpShadow (void)
 
virtual int setUpActor (void)
 
int setNextAddress (const ChannelAddress &otherChannelAddress)
 
virtual ChannelAddress * getLastSendersAddress (void)
 
int sendObj (MovableObject &theObject, FEM_ObjectBroker &, ChannelAddress *theAddress=0)
 
int recvObj (MovableObject &theObject, FEM_ObjectBroker &, ChannelAddress *theAddress=0)
 
int recvMsg (Message &, ChannelAddress *theAddress=0)
 
int sendMsg (const Message &, ChannelAddress *theAddress=0)
 
int sendMatrix (const Matrix &theMatrix, ChannelAddress *theAddress=0)
 
int recvMatrix (Matrix &theMatrix, ChannelAddress *theAddress=0)
 
int sendVector (const Vector &theVector, ChannelAddress *theAddress=0)
 
int recvVector (Vector &theVector, ChannelAddress *theAddress=0)
 
int sendID (const ID &theID, ChannelAddress *theAddress=0)
 
int recvID (ID &theID, ChannelAddress *theAddress=0)
 
unsigned int getPortNumber (void) const
 
char * addToProgram (void)
 
- Public Member Functions inherited from XC::Channel
 Channel (void)
 Constructor.
 
virtual int setUpConnection (void)=0
 
virtual bool isDatastore (void) const
 
virtual int getDbTag (void) const
 
bool checkDbTag (const int &dbTag)
 Comprueba si ya se ha usado este dbTag.
 
const ID & getUsedTags (void) const
 Return the lista de dbTags usados.
 
void clearDbTags (void)
 
int getTag (void) const
 
virtual int sendObj (int commitTag, MovableObject &, ChannelAddress *theAddress=nullptr)=0
 
virtual int recvObj (int commitTag, MovableObject &, FEM_ObjectBroker &, ChannelAddress *theAddress=nullptr)=0
 
template<class inputIterator >
int sendObjs (int commitTag, const inputIterator &first, const inputIterator &last, ChannelAddress *theAddress=nullptr)
 Send the objects on interval [first,last).
 
template<class inputIterator >
int recvObjs (int commitTag, const inputIterator &first, const inputIterator &last, FEM_ObjectBroker &, ChannelAddress *theAddress=nullptr)
 Recibe una serie de objetos.
 
virtual int sendMsg (int dbTag, int commitTag, const Message &, ChannelAddress *theAddress=nullptr)=0
 
virtual int recvMsg (int dbTag, int commitTag, Message &, ChannelAddress *theAddress=nullptr)=0
 
virtual int sendMatrix (int dbTag, int commitTag, const Matrix &, ChannelAddress *theAddress=nullptr)=0
 
virtual int recvMatrix (int dbTag, int commitTag, Matrix &, ChannelAddress *theAddress=nullptr)=0
 
virtual int sendVector (int dbTag, int commitTag, const Vector &, ChannelAddress *theAddress=nullptr)=0
 
virtual int recvVector (int dbTag, int commitTag, Vector &, ChannelAddress *theAddress=nullptr)=0
 
virtual int sendID (int dbTag, int commitTag, const ID &, ChannelAddress *theAddress=nullptr)=0
 
virtual int recvID (int dbTag, int commitTag, ID &, ChannelAddress *theAddress=nullptr)=0
 

Additional Inherited Members

- Protected Member Functions inherited from XC::Channel
int sendMovable (int commitTag, MovableObject &)
 Envía el objeto a través de éste canal.
 
int receiveMovable (int commitTag, MovableObject &, FEM_ObjectBroker &)
 Recibe el objeto a través de éste canal.
 

Detailed Description

TCP_SocketNoDelay is a sub-class of channel. It is implemented with Berkeley stream sockets using the TCP protocol. Messages delivery is garaunteed. Communication is full-duplex between a pair of connected sockets.


The documentation for this class was generated from the following files: