net.java.otr4j.session
Interface Session

Package class diagram package Session
All Known Implementing Classes:
SessionImpl

public interface Session


Method Summary
 void addOtrEngineListener(OtrEngineListener l)
           
 void endSession()
           
 KeyPair getLocalKeyPair()
           
 PublicKey getRemotePublicKey()
           
 SessionID getSessionID()
           
 OtrPolicy getSessionPolicy()
           
 SessionStatus getSessionStatus()
           
 void injectMessage(AbstractMessage m)
           
 void refreshSession()
           
 void removeOtrEngineListener(OtrEngineListener l)
           
 void startSession()
           
 String transformReceiving(String content)
           
 String transformSending(String content, List<net.java.otr4j.session.SessionImpl.TLV> tlvs)
           
 

Method Detail

getSessionStatus

SessionStatus getSessionStatus()

getSessionID

SessionID getSessionID()

injectMessage

void injectMessage(AbstractMessage m)
                   throws OtrException
Throws:
OtrException

getLocalKeyPair

KeyPair getLocalKeyPair()

getSessionPolicy

OtrPolicy getSessionPolicy()

transformReceiving

String transformReceiving(String content)
                          throws OtrException
Throws:
OtrException

transformSending

String transformSending(String content,
                        List<net.java.otr4j.session.SessionImpl.TLV> tlvs)
                        throws OtrException
Throws:
OtrException

startSession

void startSession()
                  throws OtrException
Throws:
OtrException

endSession

void endSession()
                throws OtrException
Throws:
OtrException

refreshSession

void refreshSession()
                    throws OtrException
Throws:
OtrException

getRemotePublicKey

PublicKey getRemotePublicKey()

addOtrEngineListener

void addOtrEngineListener(OtrEngineListener l)

removeOtrEngineListener

void removeOtrEngineListener(OtrEngineListener l)


Copyright © 2009 Beem-project.com. All Rights Reserved.