public class TrillianSecureIMRendezvous extends Rendezvous
Modifier and Type | Field and Description |
---|---|
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.
|
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 and Description |
---|
TrillianSecureIMRendezvous()
Creates a new Trillian SecureIM Rendezvous.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getCookie, getErrorCode, getService, getServiceData, getType, setCancel, setCookie, setError, setErrorCode, setService, setServiceData, setType
getChannel, setChannel
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
public TrillianSecureIMRendezvous()
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 Rendezvous
IOException
- if an error occurspublic void setAccept() throws IOException
setAccept
in class Rendezvous
IOException
- if an error occurspublic void setBegin() throws IOException
IOException
- if an error occurspublic void setClose() throws IOException
IOException
- if an error occurspublic void setMsg() throws IOException
IOException
- if an error occurspublic void handleServiceData(AIMSession sess, SNACHandler handler, AIMFrame frame, SNAC snac, UserInfo userinfo, IncomingIMCH2 args, AIMInputStream buffer) throws IOException
handleServiceData
in class Rendezvous
sess
- the oscar sessionhandler
- the handlerframe
- the incoming framesnac
- the incoming SNACuserinfo
- user informationargs
- incoming im ch2 argsbuffer
- the incoming bufferIOException
- if an error occurs