|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LibertyProtocolListener
The LibertyProtocolListener interface is a listener capable of receiving events concerning the LibertyProtocol class.
Method Summary | |
---|---|
void |
encounteredException(int state,
MessageException me)
The implementation of this method should receive the exception and take appropriate action according to the error code and the state of the LibertyProvider. |
void |
resultsReady(int state,
java.lang.Object result)
The implementation of this method should receive the result and handle it according to the current state of the LibertyProtocol. |
Method Detail |
---|
void resultsReady(int state, java.lang.Object result)
state
- int The state which the LibertyProtocol is currently in.result
- Object The result from the LibertyProtocol to the listener.void encounteredException(int state, MessageException me)
state
- int The state which the LibertyProtocol is currently in.me
- MessageException The MessageException that the LibertyProtocol encountered.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |