ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkServerSocket Class Reference

vtkServerSocket - Encapsulate a socket that accepts connections. More...

Inheritance diagram for Kitware.VTK.vtkServerSocket:
[legend]
Collaboration diagram for Kitware.VTK.vtkServerSocket:
[legend]

List of all members.

Public Member Functions

 vtkServerSocket (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkServerSocket ()
 Undocumented Block.
int CreateServer (int port)
 Creates a server socket at a given port and binds to it. Returns -1 on error. 0 on success.
int GetServerPort ()
 Returns the port on which the server is running.
override int IsA (string type)
 Undocumented Block.
new vtkServerSocket NewInstance ()
 Undocumented Block.
vtkClientSocket WaitForConnection (uint msec)
 Waits for a connection. When a connection is received a new vtkClientSocket object is created and returned. Returns NULL on timeout.

Static Public Member Functions

static new vtkServerSocket New ()
 Undocumented Block.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkServerSocket SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkServerSocket"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "15vtkServerSocket"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal IntPtr vtkServerSocket_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkServerSocket_CreateServer_01 (HandleRef pThis, int port)
static internal int vtkServerSocket_GetServerPort_02 (HandleRef pThis)
static internal int vtkServerSocket_IsA_03 (HandleRef pThis, string type)
static internal int vtkServerSocket_IsTypeOf_04 (string type)
static internal IntPtr vtkServerSocket_NewInstance_06 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkServerSocket_SafeDownCast_07 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkServerSocket_WaitForConnection_08 (HandleRef pThis, uint msec, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)

Static Private Member Functions

static vtkServerSocket ()
 Automatically generated type registration mechanics.

Detailed Description

vtkServerSocket - Encapsulate a socket that accepts connections.

Description


Constructor & Destructor Documentation

static Kitware.VTK.vtkServerSocket.vtkServerSocket ( ) [static, private]

Automatically generated type registration mechanics.

Kitware.VTK.vtkServerSocket.vtkServerSocket ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Undocumented Block.


Member Function Documentation

Creates a server socket at a given port and binds to it. Returns -1 on error. 0 on success.

override void Kitware.VTK.vtkServerSocket.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkSocket.

Returns the port on which the server is running.

override int Kitware.VTK.vtkServerSocket.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkSocket.

static new int Kitware.VTK.vtkServerSocket.IsTypeOf ( string  type) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkSocket.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkSocket.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkSocket.

Here is the call graph for this function:

static internal int Kitware.VTK.vtkServerSocket.vtkServerSocket_CreateServer_01 ( HandleRef  pThis,
int  port 
) [private]
static internal int Kitware.VTK.vtkServerSocket.vtkServerSocket_GetServerPort_02 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkServerSocket.vtkServerSocket_IsA_03 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkServerSocket.vtkServerSocket_IsTypeOf_04 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkServerSocket.vtkServerSocket_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkServerSocket.vtkServerSocket_NewInstance_06 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkServerSocket.vtkServerSocket_SafeDownCast_07 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkServerSocket.vtkServerSocket_WaitForConnection_08 ( HandleRef  pThis,
uint  msec,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]

Waits for a connection. When a connection is received a new vtkClientSocket object is created and returned. Returns NULL on timeout.

Here is the call graph for this function:


Member Data Documentation

new readonly string Kitware.VTK.vtkServerSocket.MRClassNameKey = "15vtkServerSocket" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkSocket.

new const string Kitware.VTK.vtkServerSocket.MRFullTypeName = "Kitware.VTK.vtkServerSocket"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkSocket.


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