org.jgap.distr.grid
Interface IGridClientMediator
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- DummyGridClientMediator
public interface IGridClientMediator
- extends java.io.Serializable
Interface for grid client mediators.
- Since:
- 3.3.3
Field Summary |
static java.lang.String |
CVS_REVISION
String containing the CVS revision. |
Method Summary |
void |
backupResult(java.lang.Object a_result,
java.lang.String a_subDir,
java.lang.String a_title)
Backs up a result in the given sub directory. |
void |
connect()
|
void |
disconnect()
|
GridMessage |
getGridMessage(MessageContext a_context,
java.lang.String a_datetime,
int a_timeoutSeconds,
int a_waitTimeSeconds,
boolean a_removeRequest)
|
java.util.List |
listRequests(MessageContext a_context,
java.lang.String a_datetime,
java.lang.String a_pattern)
|
java.util.List |
listResults(MessageContext a_context,
java.lang.String a_datetime,
java.lang.String a_pattern)
|
void |
removeMessage(java.lang.Object a_entry)
|
void |
send(GridMessage a_msg,
MessageContext a_context,
java.util.Map<java.lang.String,java.lang.String> a_headerData)
|
void |
stop()
|
CVS_REVISION
static final java.lang.String CVS_REVISION
- String containing the CVS revision. Read out via reflection!
- See Also:
- Constant Field Values
connect
void connect()
throws java.lang.Exception
- Throws:
java.lang.Exception
disconnect
void disconnect()
throws java.lang.Exception
- Throws:
java.lang.Exception
send
void send(GridMessage a_msg,
MessageContext a_context,
java.util.Map<java.lang.String,java.lang.String> a_headerData)
throws java.lang.Exception
- Throws:
java.lang.Exception
listRequests
java.util.List listRequests(MessageContext a_context,
java.lang.String a_datetime,
java.lang.String a_pattern)
throws java.lang.Exception
- Throws:
java.lang.Exception
listResults
java.util.List listResults(MessageContext a_context,
java.lang.String a_datetime,
java.lang.String a_pattern)
throws java.lang.Exception
- Throws:
java.lang.Exception
getGridMessage
GridMessage getGridMessage(MessageContext a_context,
java.lang.String a_datetime,
int a_timeoutSeconds,
int a_waitTimeSeconds,
boolean a_removeRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
removeMessage
void removeMessage(java.lang.Object a_entry)
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
void stop()
throws java.lang.Exception
- Throws:
java.lang.Exception
backupResult
void backupResult(java.lang.Object a_result,
java.lang.String a_subDir,
java.lang.String a_title)
throws java.lang.Exception
- Backs up a result in the given sub directory.
- Parameters:
a_result
- the result to backupa_subDir
- sub directory to store the copy of the result ina_title
- the title of the entry to create
- Throws:
java.lang.Exception
- Since:
- 3.3.4