|
||||||||||
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
Rendezvous are Channel 2 ICBM's.
Field Summary | |
static int |
ERROR_CODE_DECLINED
User declined request error code. |
static int |
ERROR_CODE_NOT_ACCEPTING
User not accepting error code. |
static int |
ERROR_CODE_NOT_SUPPORTED
Not supported error code. |
static int |
TLV_TYPE_CHAT_MESSAGE
Chat (and Add-Ins) invitation message. |
static int |
TLV_TYPE_ENCODING
Encoding. |
static int |
TLV_TYPE_ERROR_CODE
Error code. |
static int |
TLV_TYPE_GAMES_URL
The Games URL. |
static int |
TLV_TYPE_INVITATION_MESSAGE
Old invitation message. |
static int |
TLV_TYPE_IP_ADDRRESS
Rendezvous IP address. |
static int |
TLV_TYPE_LANGUAGE
Language. |
static int |
TLV_TYPE_MY_IP_ADDRESS
IP address as seen from our point of view. |
static int |
TLV_TYPE_OTHER_URL
Another URL. |
static int |
TLV_TYPE_PORT
Port. |
static int |
TLV_TYPE_PROXY
Present if we are using a proxy. |
static int |
TLV_TYPE_REQUEST_TYPE
Request type. |
static int |
TLV_TYPE_SECURE
Present if we are connecting securely. |
static int |
TLV_TYPE_UNKNOWN0001
Unknown 0x0001. |
static int |
TLV_TYPE_UNKNOWN0009
Unknown 0x0009. |
static int |
TLV_TYPE_UNKNOWN000F
Unknown 0x000f. |
static int |
TLV_TYPE_VERIFIED_IP_ADDR
IP address as verified by the server. |
static int |
TYPE_ACCEPT
Accept type. |
static int |
TYPE_CANCEL
Cancel type. |
static int |
TYPE_REQUEST
Request type. |
Constructor Summary | |
Rendezvous()
Creates a new rendezvous. |
Method Summary | |
byte[] |
getCookie()
Get the value of cookie. |
int |
getErrorCode()
Get the value of errorCode. |
int |
getService()
Get the value of service. |
TLVChain |
getServiceData()
Get the value of serviceData. |
int |
getType()
Get the value of type. |
abstract void |
handleServiceData(AIMSession sess,
SNACHandler handler,
AIMFrame frame,
SNAC snac,
UserInfo userinfo,
IncomingIMCH2 args,
AIMInputStream buffer)
Handles Rendezvous service data. |
void |
setAccept()
Send a rendezvous accept. |
void |
setCancel()
Send a rendezvous cancel. |
void |
setCookie(byte[] cookie)
Set the value of cookie. |
void |
setError()
Send a rendezvous error. |
void |
setErrorCode(int errorCode)
Set the value of errorCode. |
abstract void |
setRequest()
Send a rendezvous request. |
void |
setService(int service)
Set the value of service. |
void |
setServiceData(TLVChain serviceData)
Set the value of serviceData. |
void |
setType(int type)
Set the value of type. |
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 TYPE_REQUEST
public static final int TYPE_CANCEL
public static final int TYPE_ACCEPT
public static final int ERROR_CODE_NOT_SUPPORTED
public static final int ERROR_CODE_DECLINED
public static final int ERROR_CODE_NOT_ACCEPTING
public static final int TLV_TYPE_UNKNOWN0001
public static final int TLV_TYPE_IP_ADDRRESS
public static final int TLV_TYPE_MY_IP_ADDRESS
public static final int TLV_TYPE_VERIFIED_IP_ADDR
public static final int TLV_TYPE_PORT
public static final int TLV_TYPE_INVITATION_MESSAGE
public static final int TLV_TYPE_GAMES_URL
public static final int TLV_TYPE_OTHER_URL
public static final int TLV_TYPE_UNKNOWN0009
public static final int TLV_TYPE_REQUEST_TYPE
public static final int TLV_TYPE_ERROR_CODE
public static final int TLV_TYPE_CHAT_MESSAGE
public static final int TLV_TYPE_ENCODING
public static final int TLV_TYPE_LANGUAGE
public static final int TLV_TYPE_UNKNOWN000F
public static final int TLV_TYPE_PROXY
public static final int TLV_TYPE_SECURE
Constructor Detail |
public Rendezvous()
Method Detail |
public abstract void setRequest() throws java.io.IOException
java.io.IOException
- if an error occurspublic void setCancel() throws java.io.IOException
java.io.IOException
- if an error occurspublic void setAccept() throws java.io.IOException
java.io.IOException
- if an error occurspublic void setError() throws java.io.IOException
java.io.IOException
- if an error occurspublic abstract void handleServiceData(AIMSession sess, SNACHandler handler, AIMFrame frame, SNAC snac, UserInfo userinfo, IncomingIMCH2 args, AIMInputStream buffer) throws java.io.IOException
sess
- the oscar sessionhandler
- the handlerframe
- the incoming framesnac
- the incoming SNACuserinfo
- user informationargs
- incoming im ch2 argsbuffer
- the incoming buffer
java.io.IOException
- if an error occurspublic int getType()
public void setType(int type)
type
- Value to assign to type.public byte[] getCookie()
public void setCookie(byte[] cookie)
cookie
- Value to assign to cookie.public int getService()
public void setService(int service)
service
- Value to assign to service.public TLVChain getServiceData()
public void setServiceData(TLVChain serviceData)
serviceData
- Value to assign to serviceData.public int getErrorCode()
public void setErrorCode(int errorCode)
errorCode
- Value to assign to errorCode.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |