com.planet_ink.coffee_mud.core.intermud.packets
Class ChannelPacket
java.lang.Object
com.planet_ink.coffee_mud.core.intermud.packets.Packet
com.planet_ink.coffee_mud.core.intermud.packets.ChannelPacket
public class ChannelPacket
- extends Packet
Copyright (c) 1996 George Reese
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
| Fields inherited from class com.planet_ink.coffee_mud.core.intermud.packets.Packet |
CHAN_ADD, CHAN_EMOTE, CHAN_LISTEN, CHAN_MESSAGE, CHAN_REMOVE, CHAN_TARGET, CHAN_WHO_REP, CHAN_WHO_REQ, LOCATE_QUERY, LOCATE_REPLY, sender_mud, sender_name, target_mud, target_name, TELL, type, WHO_REPLY, WHO_REQUEST |
| Methods inherited from class com.planet_ink.coffee_mud.core.intermud.packets.Packet |
convertString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
channel
public java.lang.String channel
sender_visible_name
public java.lang.String sender_visible_name
message
public java.lang.String message
message_target
public java.lang.String message_target
target_visible_name
public java.lang.String target_visible_name
ChannelPacket
public ChannelPacket()
ChannelPacket
public ChannelPacket(java.util.Vector v)
throws InvalidPacketException
- Throws:
InvalidPacketException
ChannelPacket
public ChannelPacket(int t,
java.lang.String chan,
java.lang.String who,
java.lang.String vis,
java.lang.String msg)
send
public void send()
throws InvalidPacketException
- Overrides:
send in class Packet
- Throws:
InvalidPacketException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object