IController Interface |
Namespace: Crosser.Common.Server
public interface IController : IDisposable
The IController type exposes the following members.
| Name | Description | |
|---|---|---|
| Alias |
The alias for the controller, if not set it will default to the class name
| |
| Authorize |
If true all methods not marked with AllowAnonymous will demand validation
| |
| AuthorizeAttribute |
Used to validate calls...
| |
| BinaryKey |
The unique binary signature of the controller
| |
| ConnectionContext |
ConnectionContext, from the protocol instance
| |
| Protocol |
The protocol that this controller belongs to
|
| Name | Description | |
|---|---|---|
| Close |
Will close and dispose the controller
| |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
| OnClosed |
Called when the connection is closed or you choose to call Close() on the controller or the client call close()
| |
| OnInitialize |
Called when the instance is created.
This is called every time the connection creates a new instance of the controller
|
| Name | Description | |
|---|---|---|
| CallAllT |
The method builds a RPC frame and sends it to all clients having an instance of the IController type T
(Defined by CommunicationExtensions.) | |
| CallOthersT |
The method builds a RPC frame and sends it to all clients having an instance of the IController type T
The calling client is excluded from the clients being called.
(Defined by CommunicationExtensions.) | |
| CallWhereT |
The method builds a RPC frame and sends it to clients having an instance of the IController type T and matches the expression
(Defined by CommunicationExtensions.) | |
| FindT |
Finds clients that has instances of the IController and match the expression
(Defined by CommunicationExtensions.) | |
| GetCustomAttributesOfTypeTA |
Returns all attributes of type TA on a IController object
(Defined by ReflectionHelper.) |