메소드 | 설명 | |
---|---|---|
Dispose ( ) : void | ||
EnterModelAccessFreeSection ( ) : |
This method simply calls BeforeWoopsaModelAccess to trigger concurrent access protection over the woopsa model.
|
|
ShutDown ( ) : void | ||
WoopsaServer ( IWoopsaContainer root, |
Creates an instance of the Woopsa server without using the Reflector. You will have to create the object hierarchy yourself, using WoopsaObjects or implementing IWoopsaContainer yourself. If you are already using a WebServer somewhere else, this constructor will simply add the woopsa routes to that server. This allows you to serve static content and the Woopsa protocol on the same network interface and on the same port.
|
|
WoopsaServer ( IWoopsaContainer root, int port = DefaultPort, string routePrefix = DefaultServerPrefix, int threadPoolSize = CustomThreadPool.DefaultThreadPoolSize, ThreadPriority priority = DefaultThreadPriority ) : System |
Creates an instance of the Woopsa server without using the Reflector. You will have to create the object hierarchy yourself, using WoopsaObjects or implementing IWoopsaContainer yourself. It will automatically create the required HTTP server on the specified port and will prefix woopsa verbs with the specified route prefix. It will also add all the necessary native extensions for Publish/Subscribe and Mutli-Requests.
|
|
WoopsaServer ( WoopsaObject root, int port = DefaultPort, string routePrefix = DefaultServerPrefix ) : System |
Creates an instance of the Woopsa server adding multiRequestHandler and SubscriptionService It will automatically create the required HTTP server on the specified port and will prefix woopsa verbs with the specified route prefix. It will also add all the necessary native extensions for Publish/Subscribe and Mutli-Requests.
|
|
WoopsaServer ( object root, int port = DefaultPort, string routePrefix = DefaultServerPrefix ) : System |
Creates an instance of the Woopsa server with a new Reflector for the object passed to it. It will automatically create the required HTTP server on the specified port and will prefix woopsa verbs with the specified route prefix. It will also add all the necessary native extensions for Publish/Subscribe and Mutli-Requests.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void | ||
ExecuteAfterWoopsaModelAccess ( ) : void | ||
ExecuteBeforeWoopsaModelAccess ( ) : void | ||
OnAfterWoopsaModelAccess ( ) : void | ||
OnBeforeWoopsaModelAccess ( ) : void |
메소드 | 설명 | |
---|---|---|
AddRoutes ( ) : void | ||
FindByPath ( string searchPath ) : IWoopsaElement | ||
GetMetadata ( string path ) : string | ||
HandleRequest ( WoopsaVerb verb, |
||
InvokeMethod ( string path, |
||
InvokeMethodDeserializedJson ( string path, object>.Dictionary |
||
ReadValue ( string path ) : string | ||
RemoveRoutes ( ) : void | ||
WriteValue ( string path, string value ) : string | ||
WriteValueDeserializedJson ( string path, object deserializedJson ) : string |
public EnterModelAccessFreeSection ( ) : |
||
리턴 |
protected ExecuteBeforeWoopsaModelAccess ( ) : void | ||
리턴 | void |
public WoopsaServer ( IWoopsaContainer root, |
||
root | IWoopsaContainer | The root object that will be published via Woopsa. |
server | The server on which Woopsa routes will be added | |
routePrefix | string | /// The prefix to add to all routes for woopsa verbs. For example, specifying /// "myPrefix" will make the server available on http://server/myPrefix /// |
리턴 | System |
public WoopsaServer ( IWoopsaContainer root, int port = DefaultPort, string routePrefix = DefaultServerPrefix, int threadPoolSize = CustomThreadPool.DefaultThreadPoolSize, ThreadPriority priority = DefaultThreadPriority ) : System | ||
root | IWoopsaContainer | The root object that will be published via Woopsa. |
port | int | The port on which to run the web server |
routePrefix | string | /// The prefix to add to all routes for woopsa verbs. For example, specifying /// "myPrefix" will make the server available on http://server/myPrefix /// |
threadPoolSize | int | /// The maximum number of threads to be created. /// CustomThreadPool.DefaultThreadPoolSize means use default operating system value. |
priority | ThreadPriority | /// The priority of the server threads. /// |
리턴 | System |
public WoopsaServer ( WoopsaObject root, int port = DefaultPort, string routePrefix = DefaultServerPrefix ) : System | ||
root | WoopsaObject | The root object that will be published via Woopsa. |
port | int | The port on which to run the web server |
routePrefix | string | /// The prefix to add to all routes for woopsa verbs. For example, specifying /// "myPrefix" will make the server available on http://server/myPrefix /// |
리턴 | System |
public WoopsaServer ( object root, int port = DefaultPort, string routePrefix = DefaultServerPrefix ) : System | ||
root | object | The root object that will be published via Woopsa. |
port | int | The port on which to run the web server |
routePrefix | string | /// The prefix to add to all routes for woopsa verbs. For example, specifying /// "myPrefix" will make the server available on http://server/myPrefix /// |
리턴 | System |