STDPERIPHERIES::RCLocalSocketCommunicator Class Reference

... More...

Inherits SIMBASE::TRCPeripheryComponent< RCLocalSocketCommunicator >.

Inheritance diagram for STDPERIPHERIES::RCLocalSocketCommunicator:

Inheritance graph
[legend]
Collaboration diagram for STDPERIPHERIES::RCLocalSocketCommunicator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RCLocalSocketCommunicator (const RCString &sKey, const RSPeripheryCtorArg &CtorArg)
virtual void Realize ()
virtual void Connect ()
virtual void Disconnect ()
virtual TBool IsConnected ()
virtual void Send (const void *pData, TLong nLength)
virtual void Recv (void *pData, TLong nLength)
virtual TLong GetInQueue ()

Protected Types

typedef TRCSharedPtr< RSRecvBuffer > TRecvBufferPtr
typedef queue< TRecvBufferPtrTRecvQueue

Protected Member Functions

TLong ConnectThreadFcn (void *)
TLong RecvThreadFcn (void *)
 MRtlSingleInterface (RCLocalSocketCommunicator, RCCommunicator) MParamMembersStart(RCLocalSocketCommunicator) MParamMember("IsServer"

Protected Attributes

 m_bIsServer
RCBoolParamHandler MParamMember("Port", m_nPort, RCWordParamHandler)
MParamMembersEnd() protected
TWord 
m_nPort
RCLocalSocketCom m_SocketCom
RCThread m_ConnectThread
RCThread m_RecvThread
RCMutex m_Access
TBool m_bConnecting
TBool m_bConnected
TRecvQueue m_RecvQueue
TLong m_nRecvQueueLen

Static Protected Attributes

static const TLong RECV_BLOCK = 1024

Classes

struct  RSRecvBuffer

Detailed Description

...

Author:
Patrik Stellmann
...


The documentation for this class was generated from the following files:
Generated on Thu Feb 16 12:48:11 2006 for Simulator Bob by  doxygen 1.4.6-NO