org.walluck.oscar.handlers.trilliansecureim
Class TrillianSecureIM

java.lang.Object
  extended by org.walluck.oscar.handlers.trilliansecureim.TrillianSecureIM

public class TrillianSecureIM
extends Object

Handles Trillian SecureIM connections.

Since:
1.0
Version:
1.0
Author:
David Walluck

Constructor Summary
TrillianSecureIM(AIMSession sess, String screenname)
          Creates a new Trillian SecureIM.
 
Method Summary
 void end()
          End this Trillian SecureIM session.
 BigInteger getModulus()
          Get the value of modulus.
 BigInteger getMyPrivate()
          Get the value of myPrivate.
 BigInteger getMyPublic()
          Get the value of myPublic.
 BigInteger getOtherPublic()
          Get the value of otherPublic.
 BigInteger getSessionKey()
          Get the value of sessionKey.
 void handleSecureIM(IncomingIMCH2 args)
          Handles a SecureIM packet.
 void sendMsg(String msg)
          Send a Trillian SecureIM message.
 void sendRequest()
          Send a Trillian SecureIM request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrillianSecureIM

public TrillianSecureIM(AIMSession sess,
                        String screenname)
Creates a new Trillian SecureIM.

Parameters:
sess - the oscar session
screenname - the screenname
Method Detail

end

public void end()
End this Trillian SecureIM session.


sendRequest

public void sendRequest()
                 throws IOException
Send a Trillian SecureIM request.

Throws:
IOException - if an error occurs

sendMsg

public void sendMsg(String msg)
Send a Trillian SecureIM message.

Parameters:
msg - the message

handleSecureIM

public void handleSecureIM(IncomingIMCH2 args)
Handles a SecureIM packet.

Parameters:
args - the incoming IM CH2 args

getModulus

public BigInteger getModulus()
Get the value of modulus.

Returns:
the value of modulus.

getMyPrivate

public BigInteger getMyPrivate()
Get the value of myPrivate.

Returns:
the value of myPrivate.

getMyPublic

public BigInteger getMyPublic()
Get the value of myPublic.

Returns:
the value of myPublic.

getOtherPublic

public BigInteger getOtherPublic()
Get the value of otherPublic.

Returns:
the value of otherPublic.

getSessionKey

public BigInteger getSessionKey()
Get the value of sessionKey.

Returns:
the value of sessionKey.