vtkClientSocket Class Reference

#include <vtkClientSocket.h>

Inheritance diagram for vtkClientSocket:

Inheritance graph
[legend]
Collaboration diagram for vtkClientSocket:

Collaboration graph
[legend]

List of all members.


Detailed Description

Encapsulates a client socket.

Definition at line 25 of file vtkClientSocket.h.


Public Types

typedef vtkSocket Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
int ConnectToServer (const char *hostname, int port)

Static Public Member Functions

static vtkClientSocketNew ()
static int IsTypeOf (const char *type)
static vtkClientSocketSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkClientSocket ()
 ~vtkClientSocket ()

Friends

class vtkServerSocket

Member Typedef Documentation

Reimplemented from vtkSocket.

Definition at line 29 of file vtkClientSocket.h.


Constructor & Destructor Documentation

vtkClientSocket::vtkClientSocket (  )  [protected]

vtkClientSocket::~vtkClientSocket (  )  [protected]


Member Function Documentation

static vtkClientSocket* vtkClientSocket::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

virtual const char* vtkClientSocket::GetClassName (  )  [virtual]

Reimplemented from vtkSocket.

static int vtkClientSocket::IsTypeOf ( const char *  name  )  [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkSocket.

virtual int vtkClientSocket::IsA ( const char *  name  )  [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkSocket.

static vtkClientSocket* vtkClientSocket::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkSocket.

void vtkClientSocket::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkSocket.

int vtkClientSocket::ConnectToServer ( const char *  hostname,
int  port 
)

Connects to host. Returns 0 on success, -1 on error.


Friends And Related Function Documentation

friend class vtkServerSocket [friend]

Definition at line 40 of file vtkClientSocket.h.


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

Generated on Sat Dec 27 13:19:54 2008 for VTK by  doxygen 1.5.6