org.walluck.oscar.handlers.trilliansecureim
Class TrillianSecureIM

java.lang.Object
  extended byorg.walluck.oscar.handlers.trilliansecureim.TrillianSecureIM

public class TrillianSecureIM
extends java.lang.Object

Handles Trillian SecureIM connections.

Since:
1.0
Version:
1.0
Author:
David Walluck

Constructor Summary
TrillianSecureIM(AIMSession sess, java.lang.String screenname)
          Creates a new Trillian SecureIM.
 
Method Summary
 void end()
          End this Trillian SecureIM session.
 java.math.BigInteger getModulus()
          Get the value of modulus.
 java.math.BigInteger getMyPrivate()
          Get the value of myPrivate.
 java.math.BigInteger getMyPublic()
          Get the value of myPublic.
 java.math.BigInteger getOtherPublic()
          Get the value of otherPublic.
 java.math.BigInteger getSessionKey()
          Get the value of sessionKey.
 void handleSecureIM(IncomingIMCH2 args)
          Handles a SecureIM packet.
 void sendMsg(java.lang.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,
                        java.lang.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 java.io.IOException
Send a Trillian SecureIM request.

Throws:
java.io.IOException - if an error occurs

sendMsg

public void sendMsg(java.lang.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 java.math.BigInteger getModulus()
Get the value of modulus.

Returns:
the value of modulus.

getMyPrivate

public java.math.BigInteger getMyPrivate()
Get the value of myPrivate.

Returns:
the value of myPrivate.

getMyPublic

public java.math.BigInteger getMyPublic()
Get the value of myPublic.

Returns:
the value of myPublic.

getOtherPublic

public java.math.BigInteger getOtherPublic()
Get the value of otherPublic.

Returns:
the value of otherPublic.

getSessionKey

public java.math.BigInteger getSessionKey()
Get the value of sessionKey.

Returns:
the value of sessionKey.