public class IfsProtocolSession extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
m_DefaultDateFormatString |
protected String |
m_DefaultDelimiter |
Constructor and Description |
---|
IfsProtocolSession(String dateFormat,
String delimiter)
Contructor
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes the IfsProtocolSession.
|
IfsServerChannel |
getChannel()
Gets the Channel.
|
Object |
getCookie()
Gets the Cookie.
|
LibrarySession |
getLibrarySession()
Gets the LibrarySession.
|
String |
getUsername()
Gets the LibrarySession.
|
boolean |
hasTimedOut(long timeoutLength)
Has timed out?
|
void |
setChannel(IfsServerChannel channel)
Sets the Channel.
|
void |
setCookie(Object cookie)
Sets the Cookie.
|
void |
setLibrarySession(LibrarySession session)
Sets the LibrarySession.
|
protected void |
setUsername()
Called from setLibrarySession. sets up the username for ease of use.
|
protected void |
updateLastAccess()
Updates the last access of this session.
|
protected String m_DefaultDateFormatString
protected String m_DefaultDelimiter
public IfsProtocolSession(String dateFormat, String delimiter) throws IfsException
IfsException
public void dispose()
public boolean hasTimedOut(long timeoutLength)
public String getUsername() throws IfsException
IfsException
public LibrarySession getLibrarySession() throws IfsException
IfsException
public void setLibrarySession(LibrarySession session) throws IfsException
IfsException
public Object getCookie() throws IfsException
IfsException
public void setCookie(Object cookie) throws IfsException
IfsException
public IfsServerChannel getChannel() throws IfsException
IfsException
public void setChannel(IfsServerChannel channel) throws IfsException
IfsException
protected final void updateLastAccess()
protected void setUsername()
Copyright © 2023. All rights reserved.