public class ServerClientSession 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 |
---|
ServerClientSession()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createSessionTarget(JP2KServerLogicalTarget logicalTarget,
java.lang.String returnType,
java.lang.String transport)
Creates a new session.
|
ServerCacheModel |
getCache(java.lang.String cid)
Returns the cache which is associated with the channel.
|
ServerJPIPChannel |
getJPIPChannel(java.lang.String cid) |
void |
list(java.io.PrintStream out)
Prints this Server Client 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(JP2KServerLogicalTarget logicalTarget, java.lang.String returnType, java.lang.String transport)
returnType
- transport
- public ServerCacheModel getCache(java.lang.String cid)
cid
- public ServerJPIPChannel getJPIPChannel(java.lang.String cid)
cid
- 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)