org.xnap.plugin.opennap.net.msg.client
Class ClientMessage
java.lang.Object
org.xnap.plugin.opennap.net.msg.Message
org.xnap.plugin.opennap.net.msg.client.ClientMessage
- All Implemented Interfaces:
- java.lang.Comparable
- Direct Known Subclasses:
- AcceptFailedMessage, AddHotlistEntryMessage, AddUserToIgnoreListMessage, AltDownloadRequestMessage, BrowseRequestMessage, ChangeDataPortMessage, ChannelBanClearMessage, ChannelBanListRequestMessage, ChannelBanMessage, ChannelTopicMessage, ChannelUnbanMessage, ClearIgnoreListMessage, ClientStatisticsMessage, DataPortErrorMessage, DirectBrowseAckMessage, DirectBrowseRequestMessage, DirectShareFileMessage, DownloadCompleteMessage, DownloadingFileMessage, DownloadRequestMessage, EmoteMessage, JoinChannelMessage, ListChannelsMessage, ListUsersInChannelMessage, LoginMessage, NewUserLoginMessage, NickCheckMessage, PartChannelMessage, PingServerMessage, PingUserMessage, PongUserMessage, PrivateMessage, PublicMessage, QueueLimitMessage, RegisterUserMessage, RemoveChannelOpMessage, RemoveHotlistEntryMessage, RemoveUserFromIgnoreListMessage, SearchRequestMessage, ServerStatisticsMessage, ServerStatsMessage, ServerVersionMessage, SetChannelOpMessage, ShareFileMessage, ShowAllChannelsMessage, UnshareAllFilesMessage, UnshareFileMessage, UploadAckMessage, UploadCompleteMessage, UploadingFileMessage, UserIgnoreListMessage, WhoisRequestMessage
public class ClientMessage
- extends Message
- implements java.lang.Comparable
Fields inherited from class org.xnap.plugin.opennap.net.msg.Message |
type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRIORITY_HIGH
public static int PRIORITY_HIGH
- Priority for urgent messages.
PRIORITY_NORMAL
public static int PRIORITY_NORMAL
- Priority for normal messages.
PRIORITY_LOW
public static int PRIORITY_LOW
- Priority for not so urgent messages.
data
public java.lang.String data
ht
public java.util.Hashtable ht
listener
public ExceptionListener listener
ClientMessage
protected ClientMessage(int type,
java.lang.String data)
ClientMessage
protected ClientMessage(int type)
add
public void add(OpenNapServerVersion sv,
java.lang.String d)
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
failed
public void failed()
- Notifies the exception listener that the message could not
be sent.
getExceptionListener
public ExceptionListener getExceptionListener()
setExceptionListener
public void setExceptionListener(ExceptionListener newValue)
getData
public java.lang.String getData(OpenNapServerVersion version)
getData
public java.lang.String getData()
getPriority
public int getPriority()
getType
public int getType()
Copyright © 2001-2005 XNap Team. All Rights Reserved.