|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.walluck.oscar.channel.Channel
org.walluck.oscar.channel.rendezvous.Rendezvous
org.walluck.oscar.channel.rendezvous.TrillianSecureIMRendezvous
public class TrillianSecureIMRendezvous
Trillian SecureIM Rendezvous.
| Field Summary | |
|---|---|
static int |
CMDTYPE_ACCEPT
The accept command type. |
static int |
CMDTYPE_BEGIN
The begin command type. |
static int |
CMDTYPE_CLOSE
The close command type. |
static int |
CMDTYPE_MESSAGE
The message command type. |
static int |
CMDTYPE_REQUEST
The request command type. |
static int |
TLV_TYPE_CMDTYPE
TLV type containing the command type. |
static int |
TLV_TYPE_MESSAGE
The TLV type containing the message . |
static int |
TLV_TYPE_PRIME
The TLV type containing the prime value. |
static int |
TLV_TYPE_PUBLICVALUE_ACCEPT
The TLV type containing the public value in an accept. |
static int |
TLV_TYPE_PUBLICVALUE_REQUEST
The TLV type containing the public value in a request. |
static int |
TLV_TYPE_VERSION
TLV type containing the version. |
static int |
VERSION
The default version. |
| Fields inherited from class org.walluck.oscar.channel.rendezvous.Rendezvous |
|---|
ERROR_CODE_DECLINED, ERROR_CODE_NOT_ACCEPTING, ERROR_CODE_NOT_SUPPORTED, TLV_TYPE_CHAT_MESSAGE, TLV_TYPE_ENCODING, TLV_TYPE_ERROR_CODE, TLV_TYPE_GAMES_URL, TLV_TYPE_INVITATION_MESSAGE, TLV_TYPE_IP_ADDRRESS, TLV_TYPE_LANGUAGE, TLV_TYPE_MY_IP_ADDRESS, TLV_TYPE_OTHER_URL, TLV_TYPE_PORT, TLV_TYPE_PROXY, TLV_TYPE_REQUEST_TYPE, TLV_TYPE_SECURE, TLV_TYPE_UNKNOWN0001, TLV_TYPE_UNKNOWN0009, TLV_TYPE_UNKNOWN000F, TLV_TYPE_VERIFIED_IP_ADDR, TYPE_ACCEPT, TYPE_CANCEL, TYPE_REQUEST |
| Constructor Summary | |
|---|---|
TrillianSecureIMRendezvous()
Creates a new Trillian SecureIM Rendezvous. |
|
| Method Summary | |
|---|---|
int |
getCmdType()
Get the value of cmdType. |
byte[] |
getMsg()
Get the value of msg. |
BigInteger |
getPrime()
Get the value of prime. |
BigInteger |
getPublicValue()
Get the value of publicValue. |
int |
getVersion()
Get the value of version. |
void |
handleServiceData(AIMSession sess,
SNACHandler handler,
AIMFrame frame,
SNAC snac,
UserInfo userinfo,
IncomingIMCH2 args,
AIMInputStream buffer)
Incoming IM Channel 2 (Trillian SecureIM). |
void |
setAccept()
Send a rendezvous accept. |
void |
setBegin()
Send a rendezvous begin. |
void |
setClose()
Send a rendezvous close. |
void |
setCmdType(int cmdType)
Set the value of cmdType. |
void |
setMsg()
Send a rendezvous msg. |
void |
setMsg(byte[] msg)
Set the value of msg. |
void |
setPrime(BigInteger prime)
Set the value of prime. |
void |
setPublicValue(BigInteger publicValue)
Set the value of publicValue. |
void |
setRequest()
Send a rendezvous request. |
void |
setVersion(int version)
Set the value of version. |
| Methods inherited from class org.walluck.oscar.channel.rendezvous.Rendezvous |
|---|
getCookie, getErrorCode, getService, getServiceData, getType, setCancel, setCookie, setError, setErrorCode, setService, setServiceData, setType |
| Methods inherited from class org.walluck.oscar.channel.Channel |
|---|
getChannel, setChannel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int VERSION
public static final int TLV_TYPE_VERSION
public static final int TLV_TYPE_CMDTYPE
public static final int TLV_TYPE_PRIME
public static final int TLV_TYPE_PUBLICVALUE_REQUEST
public static final int TLV_TYPE_PUBLICVALUE_ACCEPT
public static final int TLV_TYPE_MESSAGE
public static final int CMDTYPE_REQUEST
public static final int CMDTYPE_ACCEPT
public static final int CMDTYPE_BEGIN
public static final int CMDTYPE_MESSAGE
public static final int CMDTYPE_CLOSE
| Constructor Detail |
|---|
public TrillianSecureIMRendezvous()
| Method Detail |
|---|
public int getVersion()
public void setVersion(int version)
version - Value to assign to version.public int getCmdType()
public void setCmdType(int cmdType)
cmdType - Value to assign to cmdType.public BigInteger getPrime()
public void setPrime(BigInteger prime)
prime - Value to assign to prime.public BigInteger getPublicValue()
public void setPublicValue(BigInteger publicValue)
publicValue - Value to assign to publicValue.public byte[] getMsg()
public void setMsg(byte[] msg)
msg - Value to assign to msg.
public void setRequest()
throws IOException
setRequest in class RendezvousIOException - if an error occurs
public void setAccept()
throws IOException
setAccept in class RendezvousIOException - if an error occurs
public void setBegin()
throws IOException
IOException - if an error occurs
public void setClose()
throws IOException
IOException - if an error occurs
public void setMsg()
throws IOException
IOException - if an error occurs
public void handleServiceData(AIMSession sess,
SNACHandler handler,
AIMFrame frame,
SNAC snac,
UserInfo userinfo,
IncomingIMCH2 args,
AIMInputStream buffer)
throws IOException
handleServiceData in class Rendezvoussess - the oscar sessionhandler - the handlerframe - the incoming framesnac - the incoming SNACuserinfo - user informationargs - incoming im ch2 argsbuffer - the incoming buffer
IOException - if an error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||