|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object PageBoxLib.TokenMsg
Token ring message.
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.
Field Summary | |
java.lang.String |
archive
Archive name |
java.util.HashMap |
msgs
Message map. |
java.lang.String |
origin
URL of the Deploy Web service of the origin PageBox |
java.lang.String |
target
URL of the Deploy Web service of the target PageBox, null in case of broadcast |
Constructor Summary | |
(package private) |
TokenMsg()
Default constructor. |
(package private) |
TokenMsg(java.lang.String o,
java.lang.String t,
java.lang.String a)
Constructor. |
Method Summary | |
(package private) void |
add(java.lang.String type,
int corrid,
byte[] data)
Add a new message to TokenMsg. |
(package private) void |
trace(Log log)
Trace the message content for debugging. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String origin
public java.lang.String target
public java.lang.String archive
public java.util.HashMap msgs
Constructor Detail |
TokenMsg()
TokenMsg(java.lang.String o, java.lang.String t, java.lang.String a)
o
- URL of the Deploy Web service of the origin PageBoxt
- URL of the Deploy Web service of the target PageBox, null in case of broadcasta
- archive nameMethod Detail |
void add(java.lang.String type, int corrid, byte[] data)
corrid
- correlation IDdata
- payloadvoid trace(Log log)
log
- logging object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |