ServerClientT Class |
Namespace: Demo3D.Net
public sealed class ServerClient<T> : ClientHead where T : class
The ServerClientT type exposes the following members.
| Name | Description | |
|---|---|---|
| Address |
The address used to create this socket.
(Inherited from ProtocolHead.) | |
| DownStream |
The downstream socket.
(Inherited from ProtocolSocket.) | |
| Editing |
True if batch editing.
(Inherited from ProtocolSocket.) | |
| ID |
A description of this socket.
(Inherited from ProtocolSocket.) | |
| IO |
The IO services provided by the protocol.
| |
| Properties |
Protocol and service properties.
(Inherited from ProtocolHead.) | |
| Running |
Returns whether the instance is still running.
(Inherited from ProtocolHead.) |
| Name | Description | |
|---|---|---|
| AddAspect |
Adds an aspect to a socket.
(Inherited from ProtocolSocket.) | |
| AddOrUpdateAspect |
Adds or updates an aspect of the socket.
(Inherited from ProtocolSocket.) | |
| BeginEdit |
Start batch editing.
(Inherited from ProtocolSocket.) | |
| Close |
Closes the socket.
(Inherited from ProtocolHead.) | |
| Close(Exception) |
Logs an error, and then closes the socket.
(Inherited from ProtocolSocket.) | |
| Close(String) |
Logs an error, and then closes the socket.
(Inherited from ProtocolSocket.) | |
| Close(String, String, Object) |
Logs an error, and then closes the socket.
(Inherited from ProtocolSocket.) | |
| EndEdit |
End batch editing.
(Inherited from ProtocolSocket.) | |
| FindAspect(Type) |
Returns an aspect of the given type, or return null.
(Inherited from ProtocolSocket.) | |
| FindAspectT |
Returns an aspect of the given type, or return null.
(Inherited from ProtocolSocket.) | |
| FindService(Type, ServiceBindingFlags) |
Returns an object that implements a specific API, or null.
For example, an IO API such as IPacketIOService.
(Inherited from ProtocolSocket.) | |
| FindServiceT(ServiceBindingFlags) |
Returns an object that implements a specific API, or null.
For example, an IO API such as IPacketIOService.
(Inherited from ProtocolSocket.) | |
| GetHead |
Returns the protocol head.
(Inherited from ProtocolHead.) | |
| GetOrAddAspect |
Adds an aspect to a socket by using the specified function, if the key does not already exist.
(Inherited from ProtocolSocket.) | |
| GetServiceT |
Returns an object that implements a specific API, or throws an exception.
For example, an IO API such as IPacketIOService.
(Inherited from ProtocolSocket.) | |
| GetStream |
Returns the head of the protocol stream (the first protocol instance).
(Inherited from ProtocolSocket.) | |
| Open |
Opens (or reopens) the socket.
(Inherited from ProtocolSocket.) | |
| RegisterClosing |
Registers a function to call when Close has been called but before the socket has been closed.
(Inherited from ProtocolSocket.) | |
| RegisterOpen |
Registers a function to call after the socket is opened, but before the OnOpened event is fired.
(Inherited from ProtocolSocket.) | |
| RemoveAspect |
Removes an aspect from a socket.
(Inherited from ProtocolSocket.) | |
| SetDownStream |
Sets the downstream socket.
(Inherited from ProtocolSocket.) | |
| Shutdown |
Forcibly shuts down the socket.
(Inherited from ProtocolHead.) | |
| Shutdown(Exception) |
Logs an error, and then shuts down the socket.
(Inherited from ProtocolSocket.) | |
| Shutdown(String) |
Logs an error, and then shuts down the socket.
(Inherited from ProtocolSocket.) | |
| ToString |
Returns a description of this socket.
(Inherited from ProtocolSocket.) | |
| TryFindServiceT |
Searches for an object that implements a specific API, or null.
Only searches on this ProtocolInstance, and does not create the service if it hasn't already been created.
(Inherited from ProtocolSocket.) | |
| UnregisterClosing |
Unregister a previously registered function.
(Inherited from ProtocolSocket.) | |
| UnregisterOpen |
Unregister a previously registered function.
(Inherited from ProtocolSocket.) |
| Name | Description | |
|---|---|---|
| EditBegun |
Raised on the first call to BeginEdit.
(Inherited from ProtocolSocket.) | |
| EditEnded |
Raised on the last call to EndEdit.
(Inherited from ProtocolSocket.) | |
| OnClosed |
Occurs after the socket is closed.
(Inherited from ProtocolSocket.) | |
| OnLinked |
Occurs when a link is made to this socket.
(Inherited from ProtocolHead.) | |
| OnOpened |
Occurs after the socket is opened.
(Inherited from ProtocolSocket.) | |
| OnShutdown |
Occurs after the socket is shutdown.
(Inherited from ProtocolSocket.) | |
| OnUnlinked |
Occurs when a link is removed from this socket.
(Inherited from ProtocolHead.) | |
| OnUpstreamLinked |
Occurs when a new upstream socket links to this protocol head.
(Inherited from ProtocolHead.) | |
| OnUpstreamUnlinked |
Occurs when a new upstream socket unlinks from this protocol head.
(Inherited from ProtocolHead.) | |
| PropertyChanged |
Occurs when a property value changes.
(Inherited from ProtocolSocket.) |