org.xnap.plugin.opennap.net.msg
Class MessageFactory
java.lang.Object
org.xnap.plugin.opennap.net.msg.MessageFactory
public class MessageFactory
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGIN_ERROR
public static final int LOGIN_ERROR
- See Also:
- Constant Field Values
LOGIN_ACK
public static final int LOGIN_ACK
- See Also:
- Constant Field Values
NICK_NOT_REGISTERED
public static final int NICK_NOT_REGISTERED
- See Also:
- Constant Field Values
NICK_ALREADY_REGISTERED
public static final int NICK_ALREADY_REGISTERED
- See Also:
- Constant Field Values
INVALID_NICK
public static final int INVALID_NICK
- See Also:
- Constant Field Values
UNSHARE_ALL_FILES
public static final int UNSHARE_ALL_FILES
- See Also:
- Constant Field Values
SEARCH_RESPONSE
public static final int SEARCH_RESPONSE
- See Also:
- Constant Field Values
END_SEARCH_RESPONSE
public static final int END_SEARCH_RESPONSE
- See Also:
- Constant Field Values
DOWNLOAD_ACK
public static final int DOWNLOAD_ACK
- See Also:
- Constant Field Values
PRIVATE_MESSAGE
public static final int PRIVATE_MESSAGE
- See Also:
- Constant Field Values
GET_ERROR
public static final int GET_ERROR
- See Also:
- Constant Field Values
USER_SIGNON
public static final int USER_SIGNON
- See Also:
- Constant Field Values
USER_SIGNOFF
public static final int USER_SIGNOFF
- See Also:
- Constant Field Values
BROWSE_RESPONSE
public static final int BROWSE_RESPONSE
- See Also:
- Constant Field Values
END_BROWSE_LIST
public static final int END_BROWSE_LIST
- See Also:
- Constant Field Values
SERVER_STATS
public static final int SERVER_STATS
- See Also:
- Constant Field Values
RESUME_SEARCH_RESPONSE
public static final int RESUME_SEARCH_RESPONSE
- See Also:
- Constant Field Values
END_RESUME_SEARCH
public static final int END_RESUME_SEARCH
- See Also:
- Constant Field Values
HOTLIST_ACK
public static final int HOTLIST_ACK
- See Also:
- Constant Field Values
HOTLIST_ERROR
public static final int HOTLIST_ERROR
- See Also:
- Constant Field Values
CLIENT_DISCONNECT
public static final int CLIENT_DISCONNECT
- See Also:
- Constant Field Values
USER_IGNORE_LIST
public static final int USER_IGNORE_LIST
- See Also:
- Constant Field Values
USER_IGNORE_LIST_ENTRY
public static final int USER_IGNORE_LIST_ENTRY
- See Also:
- Constant Field Values
ADD_USER_TO_IGNORE_LIST
public static final int ADD_USER_TO_IGNORE_LIST
- See Also:
- Constant Field Values
USER_NOT_IGNORED
public static final int USER_NOT_IGNORED
- See Also:
- Constant Field Values
USER_ALREADY_IGNORED
public static final int USER_ALREADY_IGNORED
- See Also:
- Constant Field Values
CLEAR_IGNORE_LIST
public static final int CLEAR_IGNORE_LIST
- See Also:
- Constant Field Values
PART_CHANNEL
public static final int PART_CHANNEL
- See Also:
- Constant Field Values
PUBLIC_MESSAGE
public static final int PUBLIC_MESSAGE
- See Also:
- Constant Field Values
ERROR_MESSAGE
public static final int ERROR_MESSAGE
- See Also:
- Constant Field Values
JOIN_ACK
public static final int JOIN_ACK
- See Also:
- Constant Field Values
JOIN_MESSAGE
public static final int JOIN_MESSAGE
- See Also:
- Constant Field Values
USER_PARTED_CHANNEL
public static final int USER_PARTED_CHANNEL
- See Also:
- Constant Field Values
CHANNEL_USER_LIST_ENTRY
public static final int CHANNEL_USER_LIST_ENTRY
- See Also:
- Constant Field Values
END_CHANNEL_USER_LIST
public static final int END_CHANNEL_USER_LIST
- See Also:
- Constant Field Values
CHANNEL_BAN_LIST
public static final int CHANNEL_BAN_LIST
- See Also:
- Constant Field Values
CHANNEL_BAN_LIST_ENTRY
public static final int CHANNEL_BAN_LIST_ENTRY
- See Also:
- Constant Field Values
CHANNEL_MOTD
public static final int CHANNEL_MOTD
- See Also:
- Constant Field Values
INVITE_USER
public static final int INVITE_USER
- See Also:
- Constant Field Values
ALTERNATE_DOWNLOAD_ACK
public static final int ALTERNATE_DOWNLOAD_ACK
- See Also:
- Constant Field Values
SPEED_RESPONSE
public static final int SPEED_RESPONSE
- See Also:
- Constant Field Values
WHOIS_RESPONSE
public static final int WHOIS_RESPONSE
- See Also:
- Constant Field Values
WHOWAS_RESPONSE
public static final int WHOWAS_RESPONSE
- See Also:
- Constant Field Values
UPLOAD_REQUEST
public static final int UPLOAD_REQUEST
- See Also:
- Constant Field Values
ACCEPT_FAILED
public static final int ACCEPT_FAILED
- See Also:
- Constant Field Values
SET_DATA_PORT
public static final int SET_DATA_PORT
- See Also:
- Constant Field Values
BAN_LIST_ENTRY
public static final int BAN_LIST_ENTRY
- See Also:
- Constant Field Values
LIST_CHANNELS
public static final int LIST_CHANNELS
- See Also:
- Constant Field Values
CHANNEL_LIST_ENTRY
public static final int CHANNEL_LIST_ENTRY
- See Also:
- Constant Field Values
QUEUE_LIMIT
public static final int QUEUE_LIMIT
- See Also:
- Constant Field Values
MOTD
public static final int MOTD
- See Also:
- Constant Field Values
DATA_PORT_ERROR
public static final int DATA_PORT_ERROR
- See Also:
- Constant Field Values
OPERATOR_MESSAGE
public static final int OPERATOR_MESSAGE
- See Also:
- Constant Field Values
GLOBAL_MESSAGE
public static final int GLOBAL_MESSAGE
- See Also:
- Constant Field Values
BANNED_USERS
public static final int BANNED_USERS
- See Also:
- Constant Field Values
DIRECT_BROWSE_REQUEST
public static final int DIRECT_BROWSE_REQUEST
- See Also:
- Constant Field Values
DIRECT_BROWSE_ACCEPT
public static final int DIRECT_BROWSE_ACCEPT
- See Also:
- Constant Field Values
DIRECT_BROWSE_ERROR
public static final int DIRECT_BROWSE_ERROR
- See Also:
- Constant Field Values
LOGIN_ATTEMPT
public static final int LOGIN_ATTEMPT
- See Also:
- Constant Field Values
SERVER_PING
public static final int SERVER_PING
- See Also:
- Constant Field Values
PING_USER
public static final int PING_USER
- See Also:
- Constant Field Values
PONG_RESPONSE
public static final int PONG_RESPONSE
- See Also:
- Constant Field Values
CYCLE_CLIENT
public static final int CYCLE_CLIENT
- See Also:
- Constant Field Values
EMOTE
public static final int EMOTE
- See Also:
- Constant Field Values
USER_LIST_ENTRY
public static final int USER_LIST_ENTRY
- See Also:
- Constant Field Values
END_CHANNEL_LIST
public static final int END_CHANNEL_LIST
- See Also:
- Constant Field Values
CHANNEL_LIST
public static final int CHANNEL_LIST
- See Also:
- Constant Field Values
END_USER_LIST
public static final int END_USER_LIST
- See Also:
- Constant Field Values
CONNECTION_TEST
public static final int CONNECTION_TEST
- See Also:
- Constant Field Values
LISTEN_TEST
public static final int LISTEN_TEST
- See Also:
- Constant Field Values
BLOCKED_FILE
public static final int BLOCKED_FILE
- See Also:
- Constant Field Values
MessageFactory
public MessageFactory()
create
public static ServerMessage create(OpenNapServer source,
int type,
java.lang.String data)
throws InvalidMessageException
- Throws:
InvalidMessageException
getMessageName
public static java.lang.String getMessageName(int id)
Copyright © 2001-2005 XNap Team. All Rights Reserved.