ServerSocket Methods |
The ServerSocket type exposes the following members.
| Name | Description | |
|---|---|---|
| AcceptAsync |
Accepts a connection from a client.
| |
| AddAspect |
Adds an aspect to a socket.
(Inherited from ProtocolSocket.) | |
| AddOrUpdateAspect |
Adds or updates an aspect of the socket.
(Inherited from ProtocolSocket.) | |
| BeginEditAsync |
Start batch editing.
(Inherited from ProtocolSocket.) | |
| Close |
Closes the server.
(Overrides ProtocolHeadClose.) | |
| EndEditAsync |
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, String) |
Returns an object that implements a specific API, or null.
For example, an IO API such as IPacketIOService.
(Inherited from ProtocolSocket.) | |
| FindServiceT(ServiceBindingFlags, String) |
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.) | |
| 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 OnOpenedAsync event is fired.
(Inherited from ProtocolSocket.) | |
| RemoveAspect |
Removes an aspect from a socket.
(Inherited from ProtocolSocket.) | |
| SetDownStream |
Sets the downstream socket.
(Inherited from ProtocolSocket.) | |
| SetLog |
Sets the current log.
(Inherited from ProtocolHead.) | |
| Shutdown |
Forcibly shuts down the socket, without logging an error.
(Inherited from ProtocolSocket.) | |
| Shutdown(Exception) |
Forcibly shuts down the socket, and then logs an error.
(Inherited from ProtocolSocket.) | |
| Shutdown(String) |
Forcibly shuts down the socket, and then logs an error.
(Inherited from ProtocolSocket.) | |
| Shutdown(LogMessageLogLevel, String, Object) |
Forcibly shuts down the socket, and then logs an error.
(Inherited from ProtocolSocket.) | |
| ToString |
Returns a description of this socket.
(Inherited from ProtocolSocket.) | |
| UnregisterClosing |
Unregister a previously registered function.
(Inherited from ProtocolSocket.) | |
| UnregisterOpen |
Unregister a previously registered function.
(Inherited from ProtocolSocket.) |