Controller Methods |
The Controller type exposes the following members.
Name | Description | |
---|---|---|
![]() | Close |
Will call the OnClose method and then remove the controller from the Protocol and dispose the controller.
|
![]() | Dispose |
Clean up resources and dispose
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnClosed |
Override this in your controler to be notified when the instance is closed/disposed.
The controller is closed when the connection closed or if the client actively call the close method on the controller.
|
![]() | OnInitialize |
Override this in your controller to be notified when the instance is created.
This will be called when the protocol creates a new instance of a controller.
|
![]() | Open |
If you want to call a controller just nu get an instance of it you can use this method as a target.
You may also override this method in your controller implementation.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.) |