Server
|
The ServerBase type exposes the following members.
Name | Description | |
---|---|---|
BeginInit | Performs necessary operations before the server properties are initialized. | |
Create | Create a communications server | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject) |
|
DisconnectAll | Disconnects all of the connected clients. | |
DisconnectOne | When overridden in a derived class, disconnects a connected client. | |
Dispose | Releases all resources used by the Component. (Inherited from Component) |
|
Dispose(Boolean) |
Releases the unmanaged resources used by the server and optionally releases the managed resources.
(Overrides ComponentDispose(Boolean)) |
|
EndInit | Performs necessary operations after the server properties are initialized. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
|
Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component) |
|
GetHashCode | Serves as the default hash function. (Inherited from Object) |
|
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject) |
|
GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component) |
|
GetType | Gets the Type of the current instance. (Inherited from Object) |
|
Initialize | Initializes the server. | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject) |
|
IsClientConnected | Determines whether the given client is currently connected to the server. | |
LoadSettings | Loads saved server settings from the config file if the PersistSettings property is set to true. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
|
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject) |
|
Multicast(Byte) | Sends data to all of the connected clients synchronously. | |
Multicast(Object) | Sends data to all of the connected clients synchronously. | |
Multicast(String) | Sends data to all of the connected clients synchronously. | |
Multicast(Byte, Int32, Int32) | Sends data to all of the connected clients synchronously. | |
MulticastAsync(Byte) | Sends data to all of the connected clients asynchronously. | |
MulticastAsync(Object) | Sends data to all of the connected clients asynchronously. | |
MulticastAsync(String) | Sends data to all of the connected clients asynchronously. | |
MulticastAsync(Byte, Int32, Int32) | Sends data to all of the connected clients asynchronously. | |
OnClientConnected | Raises the ClientConnected event. | |
OnClientConnectingException | Raises the ClientConnectingException event. | |
OnClientDisconnected | Raises the ClientDisconnected event. | |
OnReceiveClientData | Raises the ReceiveClientData event. | |
OnReceiveClientDataComplete | Raises the ReceiveClientDataComplete event. | |
OnReceiveClientDataException | Raises the ReceiveClientDataException event. | |
OnSendClientDataComplete | Raises the SendClientDataComplete event. | |
OnSendClientDataException | Raises the SendClientDataException event. | |
OnSendClientDataStart | Raises the SendClientDataStart event. | |
OnServerStarted | Raises the ServerStarted event. | |
OnServerStopped | Raises the ServerStopped event. | |
OnUnhandledUserException | Raises the UnhandledUserException event. | |
Read | When overridden in a derived class, reads a number of bytes from the current received data buffer and writes those bytes into a byte array at the specified offset. | |
ReStart | Re-starts the server if currently running. | |
SaveSettings | Saves server settings to the config file if the PersistSettings property is set to true. | |
SendDataToAsync | When overridden in a derived class, sends data to the specified client asynchronously. | |
SendTo(Guid, Byte) | Sends data to the specified client synchronously. | |
SendTo(Guid, Object) | Sends data to the specified client synchronously. | |
SendTo(Guid, String) | Sends data to the specified client synchronously. | |
SendTo(Guid, Byte, Int32, Int32) | Sends data to the specified client synchronously. | |
SendToAsync(Guid, Byte) | Sends data to the specified client asynchronously. | |
SendToAsync(Guid, Object) | Sends data to the specified client asynchronously. | |
SendToAsync(Guid, String) | Sends data to the specified client asynchronously. | |
SendToAsync(Guid, Byte, Int32, Int32) | Sends data to the specified client asynchronously. | |
Start | When overridden in a derived class, starts the server. | |
Stop | When overridden in a derived class, stops the server. | |
ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component) |
|
ValidateConfigurationString | When overridden in a derived class, validates the specified configurationString. |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
|
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |