Crosser.Common.Server Namespace |
Class | Description | |
---|---|---|
AliasAttribute |
Attribute to set on controllers/method to provide a shorter alias to be used in communication.
| |
AllowAnonymousAttribute |
Attribute used for allowing anonymous access to controllers and controller-methods
| |
AuthorizeAttribute |
Use this attribute to decorate IController classes and IController methods that needs security.
| |
CommunicationExtensions |
Extensions for communication over RPC
| |
Controller |
Inherit this class to create your custom controllers.
| |
ControllerDelegate |
Contains information and rules about how to call the controller/method
| |
ControllerEventInfo |
Tracks information about custom methods on a controller
| |
HiddenAttribute |
Use on methods and properties that you do not want to expose to clients
| |
HttpGetAttribute |
Will allow HTTP GET calls to the method
| |
HttpPostAttribute |
Will allow HTTP POST calls to the method
| |
InternalController |
Definition of internal (long running) controllers.
These are controllers that cant be connected to, but they can communicate with clients and other controllers.
Inherit this class and implement the Run method to create long running controllers.
| |
RunSynchronouslyAttribute |
Will only allow 1 call at the time to be executed. All other calls from the current connection will wait for current call to be completed.
Good in Actor Patterns (for example), only use when you know the behavior/result of this.
|
Interface | Description | |
---|---|---|
IConnection |
Definition for storing connections
| |
IController |
Controller definition.
| |
IControllerEventInfo |
Information about a public method on a controller
| |
IInternalController |
Definition of internal (long running) controllers.
These are controllers that cant be connected to, but they can communicate with clients and other controllers.
| |
IServer |
The server definition
| |
IServerStatistics |
Statistics definition. Tracks all things that we can see in the dashboard
|
Enumeration | Description | |
---|---|---|
DelegateType |
Method signatures described as enum
|