Server acts as a composite for many services that are all combined in one
domain.
public function putService(path:String, service):ServerServiceProxy
Puts the passed-in service to the passed-in path on this server.
This means after starting this server you can invoke methods on the passed-in
service using the server host plus the service path as url.
path | the path through which the service can be accessed on this server |
service | the actual service which provides the functionalities |
the service proxy that wraps the passed-in service and path
public function addService(serviceProxy:ServerServiceProxy):Void
Adds the passed-in serviceProxy to this server.
serviceProxy | the proxy to add to this server |
public function removeService(path:String):ServerServiceProxy
Removes the service corresponding to the passed-in path from this server.
path | the full path of the service to remove |
a service proxy that wraps the actual service
public function getService(path:String):ServerServiceProxy
Returns the service corresponding to the passed-in service path.
path | the full path of the service to return |
a service proxy wrapping the actual service