de.grogra.imp.net
public class RemoteClientImpl extends RemoteClient implements Command, MessageHandler
| Constructor and Description |
|---|
RemoteClientImpl(Workbench workbench,
Connection connection,
long requestId) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommandName()
Returns a name which can be used in the graphical user interface
to represent this command.
|
BindingsCache |
getRemoteCache() |
boolean |
handleMessage(Connection cx,
long messageId,
java.lang.String message,
boolean checkAvailability) |
void |
localTransactionCommitted(Transaction.Key key,
long stamp) |
void |
run(java.lang.Object info,
Context ctx)
Performs the actions of this command.
|
void |
transactionCommitted(Transaction.Data xa,
short remoteId,
long stamp) |
getCacheId, getServerpublic RemoteClientImpl(Workbench workbench, Connection connection, long requestId) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getCommandName()
CommandgetCommandName in interface Commandpublic BindingsCache getRemoteCache()
getRemoteCache in class RemoteClientpublic boolean handleMessage(Connection cx, long messageId, java.lang.String message, boolean checkAvailability) throws java.io.IOException
handleMessage in interface MessageHandlerjava.io.IOExceptionpublic void localTransactionCommitted(Transaction.Key key, long stamp) throws java.io.IOException
localTransactionCommitted in class RemoteClientjava.io.IOExceptionpublic void run(java.lang.Object info,
Context ctx)
CommandJobManager after the command has been submitted
to the job manager by one of execute, runAt,
or runLater-methods. The arguments info
and context are the arguments which have been provided
as arguments to the JobManager-methods.public void transactionCommitted(Transaction.Data xa, short remoteId, long stamp) throws java.io.IOException
transactionCommitted in class RemoteClientjava.io.IOException