BEAST
eu.baltrad.beast.exchange.IExchangeManager Interface Reference
Inheritance diagram for eu.baltrad.beast.exchange.IExchangeManager:
eu.baltrad.beast.exchange.ExchangeManager

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)
 

Detailed Description

Author
anders

Member Function Documentation

◆ approve()

void eu.baltrad.beast.exchange.IExchangeManager.approve ( AuthorizationRequest request)

Approves an authorization request.

Parameters
requestthe request to approve

Implemented in eu.baltrad.beast.exchange.ExchangeManager.

◆ delete()

void eu.baltrad.beast.exchange.IExchangeManager.delete ( AuthorizationRequest request)
Parameters
requestthe request to remove

Implemented in eu.baltrad.beast.exchange.ExchangeManager.

◆ deny()

void eu.baltrad.beast.exchange.IExchangeManager.deny ( AuthorizationRequest request)

Denies an authorization request.

Parameters
requestthe request to deny

Implemented in eu.baltrad.beast.exchange.ExchangeManager.

◆ parse()

ExchangeMessage eu.baltrad.beast.exchange.IExchangeManager.parse ( InputStream stream)

Parses incomming data stream and tries to termine what type of message that is arriving.

Parameters
stream
Returns

Implemented in eu.baltrad.beast.exchange.ExchangeManager.

◆ receive() [1/2]

ExchangeMessage eu.baltrad.beast.exchange.IExchangeManager.receive ( ExchangeMessage message)

◆ receive() [2/2]

ExchangeMessage eu.baltrad.beast.exchange.IExchangeManager.receive ( InputStream stream)

◆ requestAuthorization()

AuthorizationRequest eu.baltrad.beast.exchange.IExchangeManager.requestAuthorization ( String remoteAddress,
String message )

Requests authorization from the remote address.

Parameters
remoteAddressthe remote address without page specific information. For example use http://localhost:8080 instead of http://localhost:8080/BaltradDex/...
messagethe message
Returns
the send authorization request

Implemented in eu.baltrad.beast.exchange.ExchangeManager.

◆ send() [1/2]

ExchangeResponse eu.baltrad.beast.exchange.IExchangeManager.send ( SendFileRequest request)

Sends a file.

Parameters
requestthe file request to send
Returns
the exchange response

Implemented in eu.baltrad.beast.exchange.ExchangeManager.

◆ send() [2/2]

ExchangeResponse eu.baltrad.beast.exchange.IExchangeManager.send ( SendFileRequest request,
SendFileRequestCallback callback )

Sends a file.

Parameters
requestthe request
callbackstatus updates during transmission
Returns
the exchange response

Implemented in eu.baltrad.beast.exchange.ExchangeManager.

◆ sendAsync()

void eu.baltrad.beast.exchange.IExchangeManager.sendAsync ( SendFileRequest request,
SendFileRequestCallback callback )

Publishes a send file request asynchronously.

Parameters
requestthe request
callbackthe callback

Implemented in eu.baltrad.beast.exchange.ExchangeManager.


The documentation for this interface was generated from the following file: