All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_UnixStream Class Reference

#include <UT_IPC.h>

+ Inheritance diagram for UT_UnixStream:

Public Member Functions

 UT_UnixStream ()
 ~UT_UnixStream ()
int open (const char *path, UT_SocketSex asex)
int accept (UT_UnixStream &newstream)
int close ()
- Public Member Functions inherited from UT_UnixSocket
 UT_UnixSocket (UT_SocketType st)
 ~UT_UnixSocket ()
int open (const UT_UnixAddress &ua, UT_SocketSex sex)
int accept (UT_UnixSocket &newsocket)
const UT_UnixAddresslocal_address ()
const UT_UnixAddressremote_address ()
- Public Member Functions inherited from UT_Socket
 UT_Socket (UT_AddressFamily af, UT_SocketType st)
virtual ~UT_Socket ()
 UT_Socket (UT_AddressFamily af)
 UT_Socket (UT_SocketType st)
int listen (int)
int recv (char *, int, UT_MsgReceiveFlags=UT_MsgReceiveNoFlags)
int recvfrom (char *, int, struct sockaddr *, int &, UT_MsgReceiveFlags=UT_MsgReceiveNoFlags)
int send (const char *, int, UT_MsgSendFlags=UT_MsgSendNoFlags)
int sendto (const char *, int, const struct sockaddr *, int, UT_MsgSendFlags=UT_MsgSendNoFlags)
int recvmsg (struct msghdr *, UT_MsgReceiveFlags=UT_MsgReceiveNoFlags)
int sendmsg (struct msghdr *, UT_MsgSendFlags=UT_MsgSendNoFlags)
void linger ()
int setOption (UT_SocketLevelOption slo, UT_FlagOption fo)
int getOption (UT_SocketLevelOption slo, UT_FlagOption &fo)
UT_AddressFamily address_family ()
UT_SocketType socket_type ()
UT_SocketSex socket_sex ()
int socket_protocol ()
int isclient ()
int isserver ()
virtual int socket ()
- Public Member Functions inherited from UT_Transport
 UT_Transport ()
virtual ~UT_Transport ()
virtual int read (char *buffer, int len)
virtual int write (const char *buffer, int len)
virtual UT_IPCPacketgetPacket ()
virtual int readv (const IOVEC_PTR, int)
virtual int writev (const IOVEC_PTR, int)
virtual int ok ()
virtual int inuse ()
const char * getError () const
int getDescriptor () const

Additional Inherited Members

- Public Types inherited from UT_Socket
enum  UT_SocketSex { UT_Unknown, UT_Client, UT_Server }
enum  UT_AddressFamily { UT_AfUnix = AF_UNIX, UT_AfInet = AF_INET }
enum  UT_SocketType {
enum  UT_MsgSendFlags { UT_MsgSendNoFlags = 0, UT_MsgSendDontRoute = MSG_DONTROUTE, UT_MsgSendOob = MSG_OOB, UT_MsgSendDontRouteOob = MSG_OOB|MSG_DONTROUTE }
enum  UT_MsgReceiveFlags { UT_MsgReceiveNoFlags = 0, UT_MsgReceivePeek = MSG_PEEK, UT_MsgReceiveOob = MSG_OOB, UT_MsgReceivePeekOob = MSG_OOB|MSG_PEEK }
enum  UT_FlagOption { UT_Off = 0, UT_On = 1 }
enum  UT_SocketLevelOption {
  UT_Broadcast = SO_BROADCAST, UT_Debug = SO_DEBUG, UT_DontRoute = SO_DONTROUTE, UT_KeepAlive = SO_KEEPALIVE,
- Static Public Member Functions inherited from UT_Transport
static void daemon_start (int ignore_sigcld)
- Public Attributes inherited from UT_Transport
int return_on_error
- Protected Types inherited from UT_Transport
enum  UT_ShutDownType { UT_ShutDownReceive = 0, UT_ShutDownSend = 1, UT_ShutDownBoth = 2 }
- Protected Member Functions inherited from UT_Socket
virtual void shutdown (UT_ShutDownType)
int accept (struct sockaddr *sa, int &len)
int bind (const struct sockaddr *, int)
int connect (const struct sockaddr *, int)
int getpeername (struct sockaddr *, int &len)
int getsockname (struct sockaddr *, int &len)
int getsockopt (int, int, char *, int *)
int setsockopt (int, int, const char *, int)
int check_syscall (int state, const char *mess)
int syscall (int state, const char *mess)
- Protected Member Functions inherited from UT_Transport
void setError (const char *module, const char *func, const char *mess)
int readPartial (char *buffer, int len)
int writePartial (char *buffer, int len)
- Protected Attributes inherited from UT_Socket
UT_SocketType type
UT_AddressFamily family
int protocol
UT_SocketSex sex
- Protected Attributes inherited from UT_Transport
int status
int td
char errorMsg [256]

Detailed Description

Definition at line 314 of file UT_IPC.h.

Constructor & Destructor Documentation

UT_UnixStream::UT_UnixStream ( )

Definition at line 317 of file UT_IPC.h.

UT_UnixStream::~UT_UnixStream ( )

Member Function Documentation

int UT_UnixStream::accept ( UT_UnixStream newstream)

Definition at line 322 of file UT_IPC.h.

int UT_UnixStream::close ( )

Reimplemented from UT_UnixSocket.

int UT_UnixStream::open ( const char *  path,
UT_SocketSex  asex 

Definition at line 320 of file UT_IPC.h.

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