reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
recon::FlowManagerSipXSocket Class Reference

#include <FlowManagerSipXSocket.hxx>

Inheritance diagram for recon::FlowManagerSipXSocket:
[legend]

Public Member Functions

 FlowManagerSipXSocket (Flow *flow, int tos)
 
virtual ~FlowManagerSipXSocket ()
 
virtual OsSocket * getSocket ()
 
virtual int read (char *buffer, int bufferLength)
 
virtual int read (char *buffer, int bufferLength, UtlString *ipAddress, int *port)
 
virtual int read (char *buffer, int bufferLength, struct in_addr *ipAddress, int *port)
 
virtual int read (char *buffer, int bufferLength, long waitMilliseconds)
 
virtual int write (const char *buffer, int bufferLength)
 
virtual int write (const char *buffer, int bufferLength, const char *ipAddress, int port)
 
virtual int write (const char *buffer, int bufferLength, long waitMilliseconds)
 
virtual void close ()
 
virtual void makeNonblocking ()
 
virtual void makeBlocking ()
 
virtual OsSocket::IpProtocolSocketType getIpProtocol () const
 
virtual UtlBoolean reconnect ()
 
virtual int getSocketDescriptor () const
 
virtual void getLocalHostIp (UtlString *localHostAddress) const
 
virtual const UtlString & getLocalIp () const
 
virtual int getLocalHostPort () const
 
virtual void getRemoteHostName (UtlString *remoteHostName) const
 
virtual void getRemoteHostIp (struct in_addr *remoteHostAddress, int *remotePort=NULL)
 
virtual void getRemoteHostIp (UtlString *remoteHostAddress, int *remotePort=NULL)
 
virtual int getRemoteHostPort () const
 
virtual UtlBoolean isOk () const
 
virtual UtlBoolean isConnected () const
 
virtual UtlBoolean isReadyToReadEx (long waitMilliseconds, UtlBoolean &rSocketError) const
 
virtual UtlBoolean isReadyToRead (long waitMilliseconds=0) const
 
virtual UtlBoolean isReadyToWrite (long waitMilliseconds=0) const
 

Detailed Description

Definition at line 18 of file FlowManagerSipXSocket.hxx.

Constructor & Destructor Documentation

◆ FlowManagerSipXSocket()

FlowManagerSipXSocket::FlowManagerSipXSocket ( Flow *  flow,
int  tos 
)

Definition at line 29 of file FlowManagerSipXSocket.cxx.

◆ ~FlowManagerSipXSocket()

FlowManagerSipXSocket::~FlowManagerSipXSocket ( )
virtual

Definition at line 43 of file FlowManagerSipXSocket.cxx.

Member Function Documentation

◆ close()

virtual void recon::FlowManagerSipXSocket::close ( )
inlinevirtual

Definition at line 44 of file FlowManagerSipXSocket.hxx.

◆ getIpProtocol()

virtual OsSocket::IpProtocolSocketType recon::FlowManagerSipXSocket::getIpProtocol ( ) const
inlinevirtual

Definition at line 54 of file FlowManagerSipXSocket.hxx.

◆ getLocalHostIp()

virtual void recon::FlowManagerSipXSocket::getLocalHostIp ( UtlString *  localHostAddress) const
inlinevirtual

Definition at line 65 of file FlowManagerSipXSocket.hxx.

◆ getLocalHostPort()

virtual int recon::FlowManagerSipXSocket::getLocalHostPort ( ) const
inlinevirtual

Definition at line 74 of file FlowManagerSipXSocket.hxx.

◆ getLocalIp()

virtual const UtlString & recon::FlowManagerSipXSocket::getLocalIp ( ) const
inlinevirtual

Definition at line 71 of file FlowManagerSipXSocket.hxx.

◆ getRemoteHostIp() [1/2]

virtual void recon::FlowManagerSipXSocket::getRemoteHostIp ( struct in_addr *  remoteHostAddress,
int *  remotePort = NULL 
)
inlinevirtual

Definition at line 85 of file FlowManagerSipXSocket.hxx.

◆ getRemoteHostIp() [2/2]

virtual void recon::FlowManagerSipXSocket::getRemoteHostIp ( UtlString *  remoteHostAddress,
int *  remotePort = NULL 
)
inlinevirtual

Definition at line 91 of file FlowManagerSipXSocket.hxx.

◆ getRemoteHostName()

virtual void recon::FlowManagerSipXSocket::getRemoteHostName ( UtlString *  remoteHostName) const
inlinevirtual

Definition at line 78 of file FlowManagerSipXSocket.hxx.

◆ getRemoteHostPort()

virtual int recon::FlowManagerSipXSocket::getRemoteHostPort ( ) const
inlinevirtual

Definition at line 98 of file FlowManagerSipXSocket.hxx.

◆ getSocket()

OsSocket * FlowManagerSipXSocket::getSocket ( )
virtual

Definition at line 47 of file FlowManagerSipXSocket.cxx.

◆ getSocketDescriptor()

int FlowManagerSipXSocket::getSocketDescriptor ( ) const
virtual

Definition at line 53 of file FlowManagerSipXSocket.cxx.

◆ isConnected()

virtual UtlBoolean recon::FlowManagerSipXSocket::isConnected ( ) const
inlinevirtual

Definition at line 109 of file FlowManagerSipXSocket.hxx.

◆ isOk()

virtual UtlBoolean recon::FlowManagerSipXSocket::isOk ( ) const
inlinevirtual

Definition at line 106 of file FlowManagerSipXSocket.hxx.

◆ isReadyToRead()

virtual UtlBoolean recon::FlowManagerSipXSocket::isReadyToRead ( long  waitMilliseconds = 0) const
inlinevirtual

Definition at line 118 of file FlowManagerSipXSocket.hxx.

◆ isReadyToReadEx()

virtual UtlBoolean recon::FlowManagerSipXSocket::isReadyToReadEx ( long  waitMilliseconds,
UtlBoolean &  rSocketError 
) const
inlinevirtual

Definition at line 112 of file FlowManagerSipXSocket.hxx.

◆ isReadyToWrite()

virtual UtlBoolean recon::FlowManagerSipXSocket::isReadyToWrite ( long  waitMilliseconds = 0) const
inlinevirtual

Definition at line 123 of file FlowManagerSipXSocket.hxx.

◆ makeBlocking()

virtual void recon::FlowManagerSipXSocket::makeBlocking ( )
inlinevirtual

Definition at line 48 of file FlowManagerSipXSocket.hxx.

◆ makeNonblocking()

virtual void recon::FlowManagerSipXSocket::makeNonblocking ( )
inlinevirtual

Definition at line 47 of file FlowManagerSipXSocket.hxx.

◆ read() [1/4]

int FlowManagerSipXSocket::read ( char *  buffer,
int  bufferLength 
)
virtual

Definition at line 59 of file FlowManagerSipXSocket.cxx.

◆ read() [2/4]

int FlowManagerSipXSocket::read ( char *  buffer,
int  bufferLength,
long  waitMilliseconds 
)
virtual

Definition at line 127 of file FlowManagerSipXSocket.cxx.

◆ read() [3/4]

int FlowManagerSipXSocket::read ( char *  buffer,
int  bufferLength,
struct in_addr *  ipAddress,
int *  port 
)
virtual

Definition at line 104 of file FlowManagerSipXSocket.cxx.

◆ read() [4/4]

int FlowManagerSipXSocket::read ( char *  buffer,
int  bufferLength,
UtlString *  ipAddress,
int *  port 
)
virtual

Definition at line 74 of file FlowManagerSipXSocket.cxx.

◆ reconnect()

virtual UtlBoolean recon::FlowManagerSipXSocket::reconnect ( )
inlinevirtual

Definition at line 57 of file FlowManagerSipXSocket.hxx.

◆ write() [1/3]

int FlowManagerSipXSocket::write ( const char *  buffer,
int  bufferLength 
)
virtual

Definition at line 139 of file FlowManagerSipXSocket.cxx.

◆ write() [2/3]

int FlowManagerSipXSocket::write ( const char *  buffer,
int  bufferLength,
const char *  ipAddress,
int  port 
)
virtual

Definition at line 147 of file FlowManagerSipXSocket.cxx.

◆ write() [3/3]

int FlowManagerSipXSocket::write ( const char *  buffer,
int  bufferLength,
long  waitMilliseconds 
)
virtual

Definition at line 158 of file FlowManagerSipXSocket.cxx.


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