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

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.ChannelAdd

public class ChannelAdd
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
           
 
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
ChannelAdd()
           
ChannelAdd(int t, java.lang.String chan, java.lang.String who)
           
ChannelAdd(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
Constructor Detail

ChannelAdd

public ChannelAdd()

ChannelAdd

public ChannelAdd(java.util.Vector<?> v)
           throws InvalidPacketException
Throws:
InvalidPacketException

ChannelAdd

public ChannelAdd(int t,
                  java.lang.String chan,
                  java.lang.String who)
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