|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object PageBoxLib.TokenFrame
Token ring frame.
Changes:
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.util.LinkedList |
adjacencyList
Contains PageBoxInfo objects. |
java.util.LinkedList |
msgList
Contains TokenMsg objects. |
int |
nb
Frame number |
java.lang.String |
repUrl
URL of the RepoQueryIF Web service of the Repository |
Constructor Summary | |
TokenFrame()
Default constructor. |
|
TokenFrame(java.lang.String repUrl,
java.util.LinkedList al)
Constructor. |
Method Summary | |
void |
cleanup()
Cleanup a frame (repository side). |
(package private) void |
cleanup(java.lang.String o)
Cleanup a frame (origin side). |
(package private) void |
processMessage(Log log,
java.lang.String t,
java.lang.String a,
TokenCallbackIF tci)
Calls the callbacks of a PageBox (target side). |
(package private) void |
processResponse(Log log,
java.lang.String o,
java.lang.String a,
TokenCallbackIF tci)
Get responses for a PageBox (origin side). |
(package private) void |
trace(Log log,
java.lang.String step)
Trace the frame 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 repUrl
public int nb
public java.util.LinkedList adjacencyList
public java.util.LinkedList msgList
Constructor Detail |
public TokenFrame()
public TokenFrame(java.lang.String repUrl, java.util.LinkedList al)
repUrl
- URL of the RepoQueryIF Web service of the Repositoryal
- adjacency listMethod Detail |
void processMessage(Log log, java.lang.String t, java.lang.String a, TokenCallbackIF tci)
log
- logging objectt
- URL of the Deploy Web service of the target PageBoxa
- archive nametci
- TokenCallbackIF objectvoid processResponse(Log log, java.lang.String o, java.lang.String a, TokenCallbackIF tci)
log
- logging objecto
- URL of the Deploy Web service of the origin PageBoxa
- archive nametci
- TokenCallbackIF objectvoid cleanup(java.lang.String o)
o
- URL of the Deploy Web service of the origin PageBoxpublic void cleanup()
void trace(Log log, java.lang.String step)
log
- logging objectstep
- tracing time before of after
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |