com.onlineobject.objectnet Namespace

EmbeddedServer Methods

The EmbeddedServer type exposes the following members.

Methods


  Name Description
Public method Accept
Accepts the given pending connection.
Public method ChangeTransport
Stops the server if it's running and swaps out the transport it's using.
Public method DisconnectClient(UInt16, EmbeddedMessage)
Disconnects a specific client.
Public method DisconnectClient(EmbeddedConnection, EmbeddedMessage)
Disconnects the given client.
Public method Reject(EmbeddedConnection, EmbeddedMessage)
Rejects the given pending connection.
Public method Send(EmbeddedMessage, UInt16, Boolean)
Sends a message to a given client.
Public method Send(EmbeddedMessage, EmbeddedConnection, Boolean)
Sends a message to a given client.
Public method SendToAll(EmbeddedMessage, Boolean)
Sends a message to all connected clients.
Public method SendToAll(EmbeddedMessage, UInt16, Boolean)
Sends a message to all connected clients except the given one.
Public method Start(UInt16, UInt16, Byte, Boolean)
Starts the server.
Public method Start(String, UInt16, UInt16, Byte, Boolean)
Starts the server.
Public method Stop
Stops the server.
Public method TryGetClient
Retrieves the client with the given ID, if a client with that ID is currently connected.
Public method Update
Handles any received messages and invokes any delayed events which need to be invoked.