|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProtocolDispatcher
ProtocolDispatcher must be implemented by GMI protocols.
Method Summary | |
---|---|
InvocationResult |
dispatch(java.io.InputStream in)
Invoked to dispatch a method invocation on the local endpoint or on multiple external endpoints. |
void |
setServer(java.lang.Object server)
Pass the server reference to the protocol implementation. |
Method Detail |
---|
InvocationResult dispatch(java.io.InputStream in) throws java.io.IOException
null
if
problems occur, e.g. connectivity problems.
in
- 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.void setServer(java.lang.Object server)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |