Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TCP_Socket Class Reference

#include <TCP_Socket.h>

Inheritance diagram for TCP_Socket::

Channel List of all members.

Public Methods

 TCP_Socket ()
 TCP_Socket (unsigned int)
 TCP_Socket (unsigned int other_Port, char *other_InetAddr)
 ~TCP_Socket ()
char* addToProgram (void)
 methods to set up the channel in an actor space. More...

virtual int setUpShadow (void)
virtual int setUpActor (void)
int setNextAddress (const ChannelAddress &otherChannelAddress)
virtual ChannelAddressgetLastSendersAddress (void)
int sendObj (int commitTag, MovableObject &theObject, ChannelAddress *theAddress=0)
 methods to send/receive messages and objects on channels. More...

int recvObj (int commitTag, MovableObject &theObject, FEM_ObjectBroker &theBroker, ChannelAddress *theAddress=0)
int sendMsg (int dbTag, int commitTag, const Message &, ChannelAddress *theAddress=0)
int recvMsg (int dbTag, int commitTag, Message &, ChannelAddress *theAddress=0)
int sendMatrix (int dbTag, int commitTag, const Matrix &theMatrix, ChannelAddress *theAddress=0)
int recvMatrix (int dbTag, int commitTag, Matrix &theMatrix, ChannelAddress *theAddress=0)
int sendVector (int dbTag, int commitTag, const Vector &theVector, ChannelAddress *theAddress=0)
int recvVector (int dbTag, int commitTag, Vector &theVector, ChannelAddress *theAddress=0)
int sendID (int dbTag, int commitTag, const ID &theID, ChannelAddress *theAddress=0)
int recvID (int dbTag, int commitTag, ID &theID, ChannelAddress *theAddress=0)

Protected Methods

unsigned int getPortNumber (void) const

Constructor & Destructor Documentation

TCP_Socket::TCP_Socket ( )
 

Definition at line 55 of file TCP_Socket.cpp.

TCP_Socket::TCP_Socket ( unsigned int port )
 

Definition at line 88 of file TCP_Socket.cpp.

TCP_Socket::TCP_Socket ( unsigned int other_Port,
char * other_InetAddr )
 

Definition at line 129 of file TCP_Socket.cpp.

TCP_Socket::~TCP_Socket ( )
 

Definition at line 161 of file TCP_Socket.cpp.


Member Function Documentation

char * TCP_Socket::addToProgram ( void ) [virtual]
 

methods to set up the channel in an actor space.

Reimplemented from Channel.

Definition at line 698 of file TCP_Socket.cpp.

ChannelAddress * TCP_Socket::getLastSendersAddress ( void ) [inline, virtual]
 

Reimplemented from Channel.

Definition at line 72 of file TCP_Socket.h.

unsigned int TCP_Socket::getPortNumber ( void ) const [protected]
 

Definition at line 691 of file TCP_Socket.cpp.

Referenced by addToProgram().

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

Reimplemented from Channel.

Definition at line 603 of file TCP_Socket.cpp.

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

Reimplemented from Channel.

Definition at line 425 of file TCP_Socket.cpp.

int TCP_Socket::recvMsg ( int dbTag,
int commitTag,
Message & msg,
ChannelAddress * theAddress = 0 ) [virtual]
 

Reimplemented from Channel.

Definition at line 340 of file TCP_Socket.cpp.

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

Reimplemented from Channel.

Definition at line 308 of file TCP_Socket.cpp.

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

Reimplemented from Channel.

Definition at line 517 of file TCP_Socket.cpp.

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

Reimplemented from Channel.

Definition at line 647 of file TCP_Socket.cpp.

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

Reimplemented from Channel.

Definition at line 469 of file TCP_Socket.cpp.

int TCP_Socket::sendMsg ( int dbTag,
int commitTag,
const Message & msg,
ChannelAddress * theAddress = 0 ) [virtual]
 

Reimplemented from Channel.

Definition at line 383 of file TCP_Socket.cpp.

int TCP_Socket::sendObj ( int commitTag,
MovableObject & theObject,
ChannelAddress * theAddress = 0 ) [virtual]
 

methods to send/receive messages and objects on channels.

Reimplemented from Channel.

Definition at line 279 of file TCP_Socket.cpp.

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

Reimplemented from Channel.

Definition at line 561 of file TCP_Socket.cpp.

int TCP_Socket::setNextAddress ( const ChannelAddress & otherChannelAddress ) [virtual]
 

Reimplemented from Channel.

Definition at line 252 of file TCP_Socket.cpp.

int TCP_Socket::setUpActor ( void ) [virtual]
 

Reimplemented from Channel.

Definition at line 169 of file TCP_Socket.cpp.

int TCP_Socket::setUpShadow ( void ) [virtual]
 

Reimplemented from Channel.

Definition at line 206 of file TCP_Socket.cpp.


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