#include <vtkServerSocket.h>


Definition at line 27 of file vtkServerSocket.h.
| int | GetServerPort () |
| vtkServerSocket () | |
| ~vtkServerSocket () | |
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 | CreateServer (int port) |
| vtkClientSocket * | WaitForConnection (unsigned long msec=0) |
Static Public Member Functions | |
| static vtkServerSocket * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkServerSocket * | SafeDownCast (vtkObject *o) |
| typedef vtkSocket vtkServerSocket::Superclass |
| vtkServerSocket::vtkServerSocket | ( | ) | [protected] |
Returns the port on which the server is running.
| vtkServerSocket::~vtkServerSocket | ( | ) | [protected] |
Returns the port on which the server is running.
| static vtkServerSocket* vtkServerSocket::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
| virtual const char* vtkServerSocket::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkSocket.
| static int vtkServerSocket::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkSocket.
| virtual int vtkServerSocket::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkSocket.
| static vtkServerSocket* vtkServerSocket::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkSocket.
| void vtkServerSocket::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
| int vtkServerSocket::CreateServer | ( | int | port | ) |
Creates a server socket at a given port and binds to it. Returns -1 on error. 0 on success.
| vtkClientSocket* vtkServerSocket::WaitForConnection | ( | unsigned long | msec = 0 |
) |
Waits for a connection. When a connection is received a new vtkClientSocket object is created and returned. Returns NULL on timeout.
| int vtkServerSocket::GetServerPort | ( | ) |
Returns the port on which the server is running.
1.5.6