BEAST
|
Public Member Functions | |
ExchangeResponse | send (SendFileRequest request) |
Sends a file. | |
ExchangeResponse | send (SendFileRequest request, SendFileRequestCallback callback) |
Sends a file. | |
void | sendAsync (SendFileRequest request, SendFileRequestCallback callback) |
Publishes a send file request asynchronously. | |
ExchangeMessage | parse (InputStream stream) |
Parses incomming data stream and tries to termine what type of message that is arriving. | |
ExchangeMessage | receive (ExchangeMessage message) |
ExchangeMessage | receive (InputStream stream) |
AuthorizationRequest | requestAuthorization (String remoteAddress, String message) |
Requests authorization from the remote address. | |
void | approve (AuthorizationRequest request) |
Approves an authorization request. | |
void | deny (AuthorizationRequest request) |
Denies an authorization request. | |
void | delete (AuthorizationRequest request) |
void eu.baltrad.beast.exchange.IExchangeManager.approve | ( | AuthorizationRequest | request | ) |
Approves an authorization request.
request | the request to approve |
Implemented in eu.baltrad.beast.exchange.ExchangeManager.
void eu.baltrad.beast.exchange.IExchangeManager.delete | ( | AuthorizationRequest | request | ) |
request | the request to remove |
Implemented in eu.baltrad.beast.exchange.ExchangeManager.
void eu.baltrad.beast.exchange.IExchangeManager.deny | ( | AuthorizationRequest | request | ) |
Denies an authorization request.
request | the request to deny |
Implemented in eu.baltrad.beast.exchange.ExchangeManager.
ExchangeMessage eu.baltrad.beast.exchange.IExchangeManager.parse | ( | InputStream | stream | ) |
Parses incomming data stream and tries to termine what type of message that is arriving.
stream |
Implemented in eu.baltrad.beast.exchange.ExchangeManager.
ExchangeMessage eu.baltrad.beast.exchange.IExchangeManager.receive | ( | ExchangeMessage | message | ) |
Implemented in eu.baltrad.beast.exchange.ExchangeManager.
ExchangeMessage eu.baltrad.beast.exchange.IExchangeManager.receive | ( | InputStream | stream | ) |
Implemented in eu.baltrad.beast.exchange.ExchangeManager.
AuthorizationRequest eu.baltrad.beast.exchange.IExchangeManager.requestAuthorization | ( | String | remoteAddress, |
String | message ) |
Requests authorization from the remote address.
remoteAddress | the remote address without page specific information. For example use http://localhost:8080 instead of http://localhost:8080/BaltradDex/... |
message | the message |
Implemented in eu.baltrad.beast.exchange.ExchangeManager.
ExchangeResponse eu.baltrad.beast.exchange.IExchangeManager.send | ( | SendFileRequest | request | ) |
Sends a file.
request | the file request to send |
Implemented in eu.baltrad.beast.exchange.ExchangeManager.
ExchangeResponse eu.baltrad.beast.exchange.IExchangeManager.send | ( | SendFileRequest | request, |
SendFileRequestCallback | callback ) |
Sends a file.
request | the request |
callback | status updates during transmission |
Implemented in eu.baltrad.beast.exchange.ExchangeManager.
void eu.baltrad.beast.exchange.IExchangeManager.sendAsync | ( | SendFileRequest | request, |
SendFileRequestCallback | callback ) |
Publishes a send file request asynchronously.
request | the request |
callback | the callback |
Implemented in eu.baltrad.beast.exchange.ExchangeManager.