|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjgroup.relacs.gmi.protocols.BasicDispatcher
public class BasicDispatcher
BasicDispatcher is the super class for all protocols, and must be subclassed.
| Constructor Summary | |
|---|---|
BasicDispatcher(GroupInvocationDispatcher dispatcher)
|
|
| Method Summary | |
|---|---|
InvocationResult |
dispatch(java.io.InputStream in)
Invoked to dispatch a method invocation on the local endpoint or on multiple external endpoints. |
static IID |
getIdentifier()
Returns the invocation identifier ( IID) for the currently
executing method. |
void |
setServer(java.lang.Object server)
The default implementation does not need access to the server object, and hence the call is ignored. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicDispatcher(GroupInvocationDispatcher dispatcher)
| Method Detail |
|---|
public InvocationResult dispatch(java.io.InputStream in)
throws java.io.IOException
ProtocolDispatchernull if
problems occur, e.g. connectivity problems.
dispatch in interface ProtocolDispatcherin - the method to invoke, encoded in the provided InputStream.
java.io.IOException - Raised if the method invocation read from the
InputStream could not be executed for some reason.public void setServer(java.lang.Object server)
setServer in interface ProtocolDispatcherpublic static IID getIdentifier()
IID) for the currently
executing method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||