com.planet_ink.coffee_mud.core.intermud.i3.packets
Class ChannelPacket

java.lang.Object
  extended by com.planet_ink.coffee_mud.core.intermud.i3.packets.Packet
      extended by com.planet_ink.coffee_mud.core.intermud.i3.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.


Field Summary
 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
           
 
Fields inherited from class com.planet_ink.coffee_mud.core.intermud.i3.packets.Packet
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, WHO_REPLY, WHO_REQUEST
 
Constructor Summary
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)
           
 
Method Summary
 void send()
           
 java.lang.String toString()
           
 
Methods inherited from class com.planet_ink.coffee_mud.core.intermud.i3.packets.Packet
convertString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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