public class RemoteApplicationManager extends Object
Constructor and Description |
---|
RemoteApplicationManager(ClientSessionManager csm)
Creates the single instance of the remote application manager.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of the remote application manager.
|
void |
logError(ClientCommunicationInterface cci,
String msg)
Logs an error event.
|
void |
logInformational(ClientCommunicationInterface cci,
String msg)
Logs an informational event.
|
void |
logWarning(ClientCommunicationInterface cci,
String msg)
Logs a warning event.
|
void |
onDispose(ClientCommunicationInterface cci,
String sessionID)
Called by the remote application when is is being disposed of.
|
void |
onRemoteApplicationConnect(String id,
ClientCommunicationInterface cci)
Called when a new connection is created from a remote application.
|
Transaction |
readTransaction(ClientCommunicationInterface cci,
DefaultCrypto crypto)
Reads a transaction from the server.
|
Transaction |
readTransaction(ClientConnectionData ccd,
ClientCommunicationInterface cci,
DefaultCrypto crypto)
Reads a transaction from the server.
|
void |
sendErrorReply(ClientCommunicationInterface cci,
DefaultCrypto crypto,
String error)
Sends an error transaction to the RAPP client during start
of application.
|
void |
sendTransaction(ClientCommunicationInterface cci,
DefaultCrypto crypto,
Transaction trans)
Sends a transaction to the server.
|
void |
sendTransaction(ClientConnectionData ccd,
ClientCommunicationInterface cci,
DefaultCrypto crypto,
Transaction trans)
Sends a transaction to the server.
|
public RemoteApplicationManager(ClientSessionManager csm)
public void dispose()
public void logInformational(ClientCommunicationInterface cci, String msg)
public void logWarning(ClientCommunicationInterface cci, String msg)
public void logError(ClientCommunicationInterface cci, String msg)
public void onRemoteApplicationConnect(String id, ClientCommunicationInterface cci) throws IOException
IOException
- when the connect cannot be performed.public void sendErrorReply(ClientCommunicationInterface cci, DefaultCrypto crypto, String error)
public Transaction readTransaction(ClientCommunicationInterface cci, DefaultCrypto crypto) throws IOException
IOException
- if an I/O error occurs when receiving data from the server.public Transaction readTransaction(ClientConnectionData ccd, ClientCommunicationInterface cci, DefaultCrypto crypto) throws IOException
IOException
- if an I/O error occurs when receiving data from the server.public final void sendTransaction(ClientCommunicationInterface cci, DefaultCrypto crypto, Transaction trans) throws IOException
IOException
- if an I/O error occurs when sending data to the server.public final void sendTransaction(ClientConnectionData ccd, ClientCommunicationInterface cci, DefaultCrypto crypto, Transaction trans) throws IOException
IOException
- if an I/O error occurs when sending data to the server.public void onDispose(ClientCommunicationInterface cci, String sessionID)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.