|
|||||||||
| 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.ICQRTFRendezvous
public class ICQRTFRendezvous
Subtype 0x0006 - Send a rich text message.
This only works for ICQ 2001b (thats 2001 not 2000). Better, only send it to clients advertising the RTF capability. In fact, if you send it to a client that doesn't support that capability, the server will gladly bounce it back to you.
| Field Summary |
|---|
| 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 | |
|---|---|
ICQRTFRendezvous()
Creates a new ICQ RTF rendezvous. |
|
| Method Summary | |
|---|---|
AIMConnection |
getConn()
Get the value of conn. |
SendRTFMsg |
getRTFMsg()
Get the value of rtfMsg. |
void |
handleServiceData(AIMSession sess,
SNACHandler handler,
AIMFrame frame,
SNAC snac,
UserInfo userinfo,
IncomingIMCH2 args,
AIMInputStream buffer)
Incoming IM Channel 2 (ICQ Server Relay). |
void |
setConn(AIMConnection conn)
Set the value of conn. |
void |
setRequest()
Send a rendezvous request. |
void |
setRTFMsg(SendRTFMsg rtfMsg)
Set the value of rtfMsg. |
| Methods inherited from class org.walluck.oscar.channel.rendezvous.Rendezvous |
|---|
getCookie, getErrorCode, getService, getServiceData, getType, setAccept, 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 |
| Constructor Detail |
|---|
public ICQRTFRendezvous()
| Method Detail |
|---|
public SendRTFMsg getRTFMsg()
public void setRTFMsg(SendRTFMsg rtfMsg)
rtfMsg - Value to assign to rtfMsg.public AIMConnection getConn()
public void setConn(AIMConnection conn)
conn - Value to assign to conn.
public void setRequest()
throws IOException
setRequest in class RendezvousIOException - if an error occurs
public void handleServiceData(AIMSession sess,
SNACHandler handler,
AIMFrame frame,
SNAC snac,
UserInfo userinfo,
IncomingIMCH2 args,
AIMInputStream buffer)
throws IOException
The relationship between AIM_CAPS_ICQSERVERRELAY and
AIM_CAPS_ICQRTF is kind of odd. This sends the client
ICQRTF since that is all that I've seen
SERVERRELAY used for.
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 occursAIMConstants
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||