TKSocket Class Reference

#include <TKSocket.h>

Inheritance diagram for TKSocket:

TObject TObject List of all members.

Public Types

enum  EEncoding
enum  EEncoding

Public Member Functions

 ~TKSocket ()
Int_t BlockRead (char *&buf, EEncoding &type)
Int_t BlockWrite (const char *buf, Int_t len, EEncoding type)
 ~TKSocket ()
Int_t BlockRead (char *&buf, EEncoding &type)
Int_t BlockWrite (const char *buf, Int_t len, EEncoding type)

Static Public Member Functions

static TKSocketConnect (const char *server, Int_t port)
static TKSocketConnect (const char *server, Int_t port)

Private Member Functions

 TKSocket (TSocket *s=0)
 TKSocket (TSocket *s=0)

Private Attributes

TSocketfSocket
krb5_principal fServer
krb5_auth_context fAuthContext
TSocketfSocket

Static Private Attributes

static krb5_context fgContext
static krb5_ccache fgCCDef
static krb5_principal fgClient

Classes

struct  Desc_t

Detailed Description

Definition at line 31 of file TKSocket.h.


Member Enumeration Documentation

enum TKSocket::EEncoding

Definition at line 47 of file TKSocket.h.

enum TKSocket::EEncoding

Definition at line 47 of file TKSocket.h.


Constructor & Destructor Documentation

TKSocket::TKSocket ( TSocket s = 0  )  [private]

Definition at line 32 of file TKSocket.cxx.

Referenced by Connect(), and G__G__Krb5Auth_100_0_17().

TKSocket::~TKSocket (  ) 

Definition at line 40 of file TKSocket.cxx.

References fAuthContext, fgContext, fServer, and fSocket.

TKSocket::TKSocket ( TSocket s = 0  )  [private]

TKSocket::~TKSocket (  ) 


Member Function Documentation

Int_t TKSocket::BlockRead ( char *&  buf,
EEncoding type 
)

Definition at line 128 of file TKSocket.cxx.

References ECONNABORTED, TObject::Error(), error_message, fAuthContext, fgContext, free(), fSocket, TSocket::GetDescriptor(), kNone, kPriv, krb5_net_read(), kSafe, out, and TObject::SysError().

Referenced by G__G__Krb5Auth_100_0_2().

Int_t TKSocket::BlockWrite ( const char *  buf,
Int_t  len,
EEncoding  type 
)

Definition at line 194 of file TKSocket.cxx.

References TObject::Error(), error_message, fAuthContext, fgContext, TKSocket::Desc_t::fLength, free(), fSocket, TKSocket::Desc_t::fType, TSocket::GetDescriptor(), kNone, kPriv, krb5_net_write(), and kSafe.

Referenced by G__G__Krb5Auth_100_0_3().

TKSocket * TKSocket::Connect ( const char *  server,
Int_t  port 
) [static]

Definition at line 50 of file TKSocket.cxx.

References TObject::Error(), error_message, fAuthContext, fgCCDef, fgClient, fgContext, fServer, fSocket, TSocket::GetDescriptor(), s, StrDup(), TObject::SysError(), and TKSocket().

Referenced by G__G__Krb5Auth_100_0_4(), and G__setup_memfuncTKSocket().

Int_t TKSocket::BlockRead ( char *&  buf,
EEncoding type 
)

Int_t TKSocket::BlockWrite ( const char *  buf,
Int_t  len,
EEncoding  type 
)

static TKSocket* TKSocket::Connect ( const char *  server,
Int_t  port 
) [static]


Member Data Documentation

TSocket* TKSocket::fSocket [private]

Definition at line 34 of file TKSocket.h.

Referenced by BlockRead(), BlockWrite(), Connect(), and ~TKSocket().

krb5_principal TKSocket::fServer [private]

Definition at line 35 of file TKSocket.h.

Referenced by Connect(), and ~TKSocket().

krb5_auth_context TKSocket::fAuthContext [private]

Definition at line 36 of file TKSocket.h.

Referenced by BlockRead(), BlockWrite(), Connect(), and ~TKSocket().

static krb5_context TKSocket::fgContext [static, private]

Definition at line 38 of file TKSocket.h.

Referenced by BlockRead(), BlockWrite(), Connect(), and ~TKSocket().

static krb5_ccache TKSocket::fgCCDef [static, private]

Definition at line 39 of file TKSocket.h.

Referenced by Connect().

krb5_principal TKSocket::fgClient [static, private]

Definition at line 40 of file TKSocket.h.

Referenced by Connect().

TSocket* TKSocket::fSocket [private]

Definition at line 34 of file TKSocket.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:42:13 2011 for ROOT_528-00b_version by  doxygen 1.5.1