ymsg.network
Interface ServiceConstants

All Known Implementing Classes:
HTTPConnectionHandler, Session

public interface ServiceConstants

Defines constants for each of the network message ('packet') types. These values are taken from the service field in the standard YMSG10+ headers.

The _X_ constants are pseudo service numbers, created to distinguish packets which may have dual purpose, but share the same service number. Most of these differences can be ironed out by the API, and are transparent to the API user, but some cannot. For example, on-line and off-line messages both use 0x06, but logically they should be presented to the user very differently. As the event internals are centred around service id's, a psuedo service id of SERVICE_X_OFFLINE is used. (None of this is of interest to the casual API user - but please take note if you plan to modify this API.)

Since:
1.0

Field Summary
static int SERVICE_ADDIDENT
           
static int SERVICE_ADDIGNORE
           
static int SERVICE_AUTH
           
static int SERVICE_AUTHRESP
           
static int SERVICE_CALENDAR
           
static int SERVICE_CHATCONNECT
           
static int SERVICE_CHATDISCONNECT
           
static int SERVICE_CHATGOTO
           
static int SERVICE_CHATINVITE
           
static int SERVICE_CHATLEAVE
           
static int SERVICE_CHATLOGOFF
           
static int SERVICE_CHATLOGON
           
static int SERVICE_CHATMSG
           
static int SERVICE_CHATPING
           
static int SERVICE_CHATPM
           
static int SERVICE_CONFADDINVITE
           
static int SERVICE_CONFDECLINE
           
static int SERVICE_CONFINVITE
           
static int SERVICE_CONFLOGOFF
           
static int SERVICE_CONFLOGON
           
static int SERVICE_CONFMSG
           
static int SERVICE_CONTACTIGNORE
           
static int SERVICE_CONTACTNEW
           
static int SERVICE_CONTACTREJECT
           
static int SERVICE_FILETRANSFER
           
static int SERVICE_FRIENDADD
           
static int SERVICE_FRIENDREMOVE
           
static int SERVICE_GAMELOGOFF
           
static int SERVICE_GAMELOGON
           
static int SERVICE_GAMEMSG
           
static int SERVICE_GROUPRENAME
           
static int SERVICE_IDACT
           
static int SERVICE_IDDEACT
           
static int SERVICE_IDLE
           
static int SERVICE_ISAWAY
           
static int SERVICE_ISBACK
           
static int SERVICE_LIST
           
static int SERVICE_LOGOFF
           
static int SERVICE_LOGON
           
static int SERVICE_MAILSTAT
           
static int SERVICE_MESSAGE
           
static int SERVICE_NEWMAIL
           
static int SERVICE_NEWPERSONMAIL
           
static int SERVICE_NOTIFY
           
static int SERVICE_P2PFILEXFER
           
static int SERVICE_PASSTHROUGH2
           
static int SERVICE_PEERTOPEER
           
static int SERVICE_PING
           
static int SERVICE_SYSMESSAGE
           
static int SERVICE_USERSTAT
           
static int SERVICE_VOICECHAT
           
static int SERVICE_X_BUZZ
           
static int SERVICE_X_CHATUPDATE
           
static int SERVICE_X_ERROR
           
static int SERVICE_X_EXCEPTION
           
static int SERVICE_X_OFFLINE
           
 

Field Detail

SERVICE_LOGON

public static final int SERVICE_LOGON
See Also:
Constant Field Values

SERVICE_LOGOFF

public static final int SERVICE_LOGOFF
See Also:
Constant Field Values

SERVICE_ISAWAY

public static final int SERVICE_ISAWAY
See Also:
Constant Field Values

SERVICE_ISBACK

public static final int SERVICE_ISBACK
See Also:
Constant Field Values

SERVICE_IDLE

public static final int SERVICE_IDLE
See Also:
Constant Field Values

SERVICE_MESSAGE

public static final int SERVICE_MESSAGE
See Also:
Constant Field Values

SERVICE_IDACT

public static final int SERVICE_IDACT
See Also:
Constant Field Values

SERVICE_IDDEACT

public static final int SERVICE_IDDEACT
See Also:
Constant Field Values

SERVICE_MAILSTAT

public static final int SERVICE_MAILSTAT
See Also:
Constant Field Values

SERVICE_USERSTAT

public static final int SERVICE_USERSTAT
See Also:
Constant Field Values

SERVICE_NEWMAIL

public static final int SERVICE_NEWMAIL
See Also:
Constant Field Values

SERVICE_CHATINVITE

public static final int SERVICE_CHATINVITE
See Also:
Constant Field Values

SERVICE_CALENDAR

public static final int SERVICE_CALENDAR
See Also:
Constant Field Values

SERVICE_NEWPERSONMAIL

public static final int SERVICE_NEWPERSONMAIL
See Also:
Constant Field Values

SERVICE_CONTACTNEW

public static final int SERVICE_CONTACTNEW
See Also:
Constant Field Values

SERVICE_ADDIDENT

public static final int SERVICE_ADDIDENT
See Also:
Constant Field Values

SERVICE_ADDIGNORE

public static final int SERVICE_ADDIGNORE
See Also:
Constant Field Values

SERVICE_PING

public static final int SERVICE_PING
See Also:
Constant Field Values

SERVICE_GROUPRENAME

public static final int SERVICE_GROUPRENAME
See Also:
Constant Field Values

SERVICE_SYSMESSAGE

public static final int SERVICE_SYSMESSAGE
See Also:
Constant Field Values

SERVICE_PASSTHROUGH2

public static final int SERVICE_PASSTHROUGH2
See Also:
Constant Field Values

SERVICE_CONFINVITE

public static final int SERVICE_CONFINVITE
See Also:
Constant Field Values

SERVICE_CONFLOGON

public static final int SERVICE_CONFLOGON
See Also:
Constant Field Values

SERVICE_CONFDECLINE

public static final int SERVICE_CONFDECLINE
See Also:
Constant Field Values

SERVICE_CONFLOGOFF

public static final int SERVICE_CONFLOGOFF
See Also:
Constant Field Values

SERVICE_CONFADDINVITE

public static final int SERVICE_CONFADDINVITE
See Also:
Constant Field Values

SERVICE_CONFMSG

public static final int SERVICE_CONFMSG
See Also:
Constant Field Values

SERVICE_CHATPM

public static final int SERVICE_CHATPM
See Also:
Constant Field Values

SERVICE_GAMELOGON

public static final int SERVICE_GAMELOGON
See Also:
Constant Field Values

SERVICE_GAMELOGOFF

public static final int SERVICE_GAMELOGOFF
See Also:
Constant Field Values

SERVICE_GAMEMSG

public static final int SERVICE_GAMEMSG
See Also:
Constant Field Values

SERVICE_FILETRANSFER

public static final int SERVICE_FILETRANSFER
See Also:
Constant Field Values

SERVICE_VOICECHAT

public static final int SERVICE_VOICECHAT
See Also:
Constant Field Values

SERVICE_NOTIFY

public static final int SERVICE_NOTIFY
See Also:
Constant Field Values

SERVICE_P2PFILEXFER

public static final int SERVICE_P2PFILEXFER
See Also:
Constant Field Values

SERVICE_PEERTOPEER

public static final int SERVICE_PEERTOPEER
See Also:
Constant Field Values

SERVICE_AUTHRESP

public static final int SERVICE_AUTHRESP
See Also:
Constant Field Values

SERVICE_LIST

public static final int SERVICE_LIST
See Also:
Constant Field Values

SERVICE_AUTH

public static final int SERVICE_AUTH
See Also:
Constant Field Values

SERVICE_FRIENDADD

public static final int SERVICE_FRIENDADD
See Also:
Constant Field Values

SERVICE_FRIENDREMOVE

public static final int SERVICE_FRIENDREMOVE
See Also:
Constant Field Values

SERVICE_CONTACTIGNORE

public static final int SERVICE_CONTACTIGNORE
See Also:
Constant Field Values

SERVICE_CONTACTREJECT

public static final int SERVICE_CONTACTREJECT
See Also:
Constant Field Values

SERVICE_CHATCONNECT

public static final int SERVICE_CHATCONNECT
See Also:
Constant Field Values

SERVICE_CHATGOTO

public static final int SERVICE_CHATGOTO
See Also:
Constant Field Values

SERVICE_CHATLOGON

public static final int SERVICE_CHATLOGON
See Also:
Constant Field Values

SERVICE_CHATLEAVE

public static final int SERVICE_CHATLEAVE
See Also:
Constant Field Values

SERVICE_CHATLOGOFF

public static final int SERVICE_CHATLOGOFF
See Also:
Constant Field Values

SERVICE_CHATDISCONNECT

public static final int SERVICE_CHATDISCONNECT
See Also:
Constant Field Values

SERVICE_CHATPING

public static final int SERVICE_CHATPING
See Also:
Constant Field Values

SERVICE_CHATMSG

public static final int SERVICE_CHATMSG
See Also:
Constant Field Values

SERVICE_X_ERROR

public static final int SERVICE_X_ERROR
See Also:
Constant Field Values

SERVICE_X_OFFLINE

public static final int SERVICE_X_OFFLINE
See Also:
Constant Field Values

SERVICE_X_EXCEPTION

public static final int SERVICE_X_EXCEPTION
See Also:
Constant Field Values

SERVICE_X_BUZZ

public static final int SERVICE_X_BUZZ
See Also:
Constant Field Values

SERVICE_X_CHATUPDATE

public static final int SERVICE_X_CHATUPDATE
See Also:
Constant Field Values