net.java.otr4j.session
Class SessionImpl
java.lang.Object
net.java.otr4j.session.SessionImpl
- All Implemented Interfaces:
- Session
public class SessionImpl
- extends Object
- implements Session
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionImpl
public SessionImpl(SessionID sessionID,
OtrEngineHost listener)
getSessionStatus
public SessionStatus getSessionStatus()
- Specified by:
getSessionStatus in interface Session
getSessionID
public SessionID getSessionID()
- Specified by:
getSessionID in interface Session
transformReceiving
public String transformReceiving(String msgText)
throws OtrException
- Specified by:
transformReceiving in interface Session
- Throws:
OtrException
injectMessage
public void injectMessage(AbstractMessage m)
throws OtrException
- Specified by:
injectMessage in interface Session
- Throws:
OtrException
transformSending
public String transformSending(String msgText,
List<net.java.otr4j.session.SessionImpl.TLV> tlvs)
throws OtrException
- Specified by:
transformSending in interface Session
- Throws:
OtrException
startSession
public void startSession()
throws OtrException
- Specified by:
startSession in interface Session
- Throws:
OtrException
endSession
public void endSession()
throws OtrException
- Specified by:
endSession in interface Session
- Throws:
OtrException
refreshSession
public void refreshSession()
throws OtrException
- Specified by:
refreshSession in interface Session
- Throws:
OtrException
getRemotePublicKey
public PublicKey getRemotePublicKey()
- Specified by:
getRemotePublicKey in interface Session
addOtrEngineListener
public void addOtrEngineListener(OtrEngineListener l)
- Specified by:
addOtrEngineListener in interface Session
removeOtrEngineListener
public void removeOtrEngineListener(OtrEngineListener l)
- Specified by:
removeOtrEngineListener in interface Session
getSessionPolicy
public OtrPolicy getSessionPolicy()
- Specified by:
getSessionPolicy in interface Session
getLocalKeyPair
public KeyPair getLocalKeyPair()
- Specified by:
getLocalKeyPair in interface Session
Copyright © 2009 Beem-project.com. All Rights Reserved.