| Interface | osid.transport.InboundMessageSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
The inbound message session is used as a listener. A
callback is registered using a | ||
| Method | getEndpointId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Endpoint Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getEndpoint | ||
| Description |
Gets the | ||
| Return | osid.transport.Endpoint | the Endpoint associated with this session | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerCallback | ||
| Description |
Registers a callback to receive incoming data. | ||
| Parameters | osid.transport.MessageReceiver | receiver | a message receievr |
| Errors | NULL_ARGUMENT | receiver is null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |