public class ChannelPacket extends Packet
Modifier and Type | Field | Description |
---|---|---|
java.lang.String |
channel |
|
java.lang.String |
message |
|
java.lang.String |
message_target |
|
java.lang.String |
sender_visible_name |
|
java.lang.String |
target_visible_name |
CHAN_ADD, CHAN_EMOTE, CHAN_LISTEN, CHAN_MESSAGE, CHAN_REMOVE, CHAN_TARGET, CHAN_USER_REP, CHAN_USER_REQ, CHAN_WHO_REP, CHAN_WHO_REQ, ERROR_PACKET, FINGER_REPLY, FINGER_REQUEST, LOCATE_QUERY, LOCATE_REPLY, MAUTH_REPLY, MAUTH_REQUEST, PING_PACKET, sender_mud, sender_name, SHUTDOWN, target_mud, target_name, TELL, type, UCACHE_UPDATE, WHO_REPLY, WHO_REQUEST
Constructor | Description |
---|---|
ChannelPacket() |
|
ChannelPacket(int t,
java.lang.String chan,
java.lang.String who,
java.lang.String vis,
java.lang.String msg) |
|
ChannelPacket(java.util.Vector<?> v) |
Modifier and Type | Method | Description |
---|---|---|
void |
send() |
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
convertString
public java.lang.String channel
public java.lang.String sender_visible_name
public java.lang.String message
public java.lang.String message_target
public java.lang.String target_visible_name
public ChannelPacket()
public ChannelPacket(java.util.Vector<?> v) throws InvalidPacketException
InvalidPacketException
public ChannelPacket(int t, java.lang.String chan, java.lang.String who, java.lang.String vis, java.lang.String msg)
public void send() throws InvalidPacketException
send
in class Packet
InvalidPacketException
public java.lang.String toString()
toString
in class java.lang.Object