|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Token ring callback interface.
alexis.grandemange@pagebox.net
Copyright (c) 2002-2004 Alexis Grandemange
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; version 2.1 of the License. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. A copy of the GNU Lesser General Public License lesser.txt should be included in the distribution.
| Method Summary | |
java.io.Serializable |
call(java.lang.String from,
java.lang.String type,
int corrid,
java.io.Serializable data)
Method called when a message that targets this (target instance, archive) is received. |
void |
poll()
Method called when a frame is received by the PageBox. |
void |
response(java.lang.String type,
int corrid,
java.util.Map codes)
Method called when a message comes back to its sender. |
void |
setSender(TokenSendIF tsi)
Method called when a callback is registered |
| Method Detail |
public void setSender(TokenSendIF tsi)
tsi - object to use to send messages
public java.io.Serializable call(java.lang.String from,
java.lang.String type,
int corrid,
java.io.Serializable data)
from - issuer URLtype - request typecorrid - correlation IDdata - TokenMsg data
public void poll()
public void response(java.lang.String type,
int corrid,
java.util.Map codes)
type - request typecorrid - correlation IDcodes - map whose key is the issuer URL and value is a Serializable object
(response returned by the call method of the issuer TokenCallbackIF)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||