| AbstractSession Methods |
The AbstractSession type exposes the following members.
| Name | Description | |
|---|---|---|
| Cancel(CorrelationID) | Cancels an outstanding request or a subscription represented by the
specified correlationId.
| |
| Cancel(IListCorrelationID) | Cancels outstanding requests or subscriptions represented by the
specified list of correlationIds.
| |
| Cancel(CorrelationID, String) | Cancels an outstanding request or a subscription represented by the
specified correlationId.
| |
| Cancel(IListCorrelationID, String) | Cancels outstanding requests or subscriptions represented by the
specified list of correlationIds.
| |
| CreateIdentity | Returns a new Identity which is valid but has not been authorized.
| |
| CreateUserHandle | Obsolete. | |
| DispatchEvent | ||
| GenerateToken | Return a generated token to be used for authorization.
| |
| GenerateToken(CorrelationID) | Return a generated token to be used for authorization.
| |
| GenerateToken(CorrelationID, EventQueue) | Return a generated token to be used for authorization.
| |
| GetService |
Returns a handle to a
Service
object representing the service
identified by the specified uri.
| |
| Init | ||
| NextEvent | Returns the next event available for processing on this session.
| |
| NextEvent(Int64) | Returns the next event available for processing on this session.
| |
| OpenService |
Opens the service having the specified
uri.
| |
| OpenServiceAsync(String) | Issues an asynchronous request to open a service.
| |
| OpenServiceAsync(String, CorrelationID) | Initiates an asynchronous request to open a service.
| |
| SendAuthorizationRequest(Request, Identity, CorrelationID) | Sends the specified authorizationRequest and update the specified
identity with the results.
| |
| SendAuthorizationRequest(Request, UserHandle, CorrelationID) | Obsolete. | |
| SendAuthorizationRequest(Request, Identity, CorrelationID, String) | Sends the specified authorizationRequest and update the specified
identity with the results.
| |
| SendAuthorizationRequest(Request, Identity, EventQueue, CorrelationID) | Sends the specified authorizationRequest and update the specified
identity with the results.
| |
| SendAuthorizationRequest(Request, UserHandle, CorrelationID, String) | Obsolete. | |
| SendAuthorizationRequest(Request, UserHandle, EventQueue, CorrelationID) | Obsolete. | |
| SendAuthorizationRequest(Request, Identity, EventQueue, CorrelationID, String) | Sends the specified authorizationRequest and update the specified
identity with the results.
| |
| SendAuthorizationRequest(Request, UserHandle, EventQueue, CorrelationID, String) | Obsolete. | |
| Start |
Issues a blocking call to start the session.
| |
| StartAsync |
Initiates a non blocking call to start the session.
| |
| Stop | Stops this session.
| |
| Stop(AbstractSessionStopOption) | Stops the operation of this session.
| |
| TryNextEvent | Tries to retrieve the next event available for processing
on this session
|
| Name | Description | |
|---|---|---|
| IDisposableDispose |
Dispose this Session object. It calls AbstractSession.Stop() to
close the opened socket.
|