public class ProxyClientSession extends ServerSideSession
For further information about JPIP sessions, see ISO/IEC 15444-9 section B.2
DEFAULT_EXPIRATION_TIME, expirationTime, mutex, sessionID, targets
Constructor and Description |
---|
ProxyClientSession()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addWOIToHistory(java.lang.String cid,
ViewWindowField woi)
Adds a new WOI to the historic.
|
java.lang.String |
createSessionTarget(java.lang.String tid,
ProxyJPEG2KCodestream codestream,
java.lang.String returnType,
java.lang.String transport) |
java.lang.String |
createSessionTarget(java.lang.String tid,
ProxyJPEG2KCodestream codestream,
java.lang.String returnType,
java.lang.String transport,
boolean recordHistoric)
This method creates a new session target within the client session.
|
ProxyCacheModel |
getCache(java.lang.String cid)
Returns the cache which is associated with the channel.
|
ViewWindowField |
getLastWOIHistoryByTID(java.lang.String tid) |
java.util.ArrayList<ViewWindowField> |
getWOIHistoryByTID(java.lang.String tid)
Returns the
#woisHistory attribute. |
java.util.ArrayList<ViewWindowField> |
getWOIsHistoric(java.lang.String cid) |
void |
list(java.io.PrintStream out)
Prints this Session out to the specified output stream.
|
void |
remove()
Removes the session.
|
java.lang.String |
toString() |
updateExpirationTime
closeChannel, contains, containsTID, createSessionTarget, getReturnType, getSessionID, getSessionTarget, getSessionTargetByTID, getTID, hasExpired, openChannel, tidKeySet
public java.lang.String createSessionTarget(java.lang.String tid, ProxyJPEG2KCodestream codestream, java.lang.String returnType, java.lang.String transport)
tid
- codestream
- returnType
- transport
- public java.lang.String createSessionTarget(java.lang.String tid, ProxyJPEG2KCodestream codestream, java.lang.String returnType, java.lang.String transport, boolean recordHistoric)
tid
- codestream
- returnType
- transport
- public ProxyCacheModel getCache(java.lang.String cid)
cid
- public void addWOIToHistory(java.lang.String cid, ViewWindowField woi)
woi
- the WOI to be added.public java.util.ArrayList<ViewWindowField> getWOIsHistoric(java.lang.String cid)
public java.util.ArrayList<ViewWindowField> getWOIHistoryByTID(java.lang.String tid)
#woisHistory
attribute.#woisHistory
.public ViewWindowField getLastWOIHistoryByTID(java.lang.String tid)
public java.lang.String toString()
toString
in class ServerSideSession
public void list(java.io.PrintStream out)
list
in class ServerSideSession
out
- an output stream.
CADI - Copyright (C) 2007
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program 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 General Public License for more details.
Group on Interactive Coding of Images (GICI) (contact)