org.apache.james.mailboxmanager.torque
Class TorqueMailboxSession

java.lang.Object
  extended by org.apache.james.mailboxmanager.torque.TorqueMailboxSession
All Implemented Interfaces:
MailboxSession

public class TorqueMailboxSession
extends java.lang.Object
implements MailboxSession

Describes a mailbox session.


Constructor Summary
TorqueMailboxSession(long sessionId)
           
 
Method Summary
 void close()
          Closes this session.
 long getSessionId()
          Gets the session ID.
 boolean isOpen()
          Is this session open?
 java.lang.String toString()
          Renders suitably for logging.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TorqueMailboxSession

public TorqueMailboxSession(long sessionId)
Method Detail

close

public void close()
Description copied from interface: MailboxSession
Closes this session.

Specified by:
close in interface MailboxSession

getSessionId

public long getSessionId()
Description copied from interface: MailboxSession
Gets the session ID.

Specified by:
getSessionId in interface MailboxSession
Returns:
session id

isOpen

public boolean isOpen()
Description copied from interface: MailboxSession
Is this session open?

Specified by:
isOpen in interface MailboxSession
Returns:
true if the session is open, false otherwise

toString

public java.lang.String toString()
Renders suitably for logging.

Overrides:
toString in class java.lang.Object
Returns:
a String representation of this object.


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.