com.uwyn.drone.protocol
Class ServerMessage

java.lang.Object
  extended bycom.uwyn.drone.protocol.ServerMessage

public class ServerMessage
extends Object


Constructor Summary
protected ServerMessage(IrcPrefix prefix, ResponseCode responseCode, ArrayList parameters, String trailing)
           
protected ServerMessage(IrcPrefix prefix, String command, ArrayList parameters, String trailing)
           
 
Method Summary
 String getCommand()
           
 ArrayList getParameters()
           
 IrcPrefix getPrefix()
           
 String getRaw()
           
 ResponseCode getResponseCode()
           
 String getTrailing()
           
 boolean isCommand()
           
 boolean isResponse()
           
static ServerMessage parse(String raw)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerMessage

protected ServerMessage(IrcPrefix prefix,
                        ResponseCode responseCode,
                        ArrayList parameters,
                        String trailing)

ServerMessage

protected ServerMessage(IrcPrefix prefix,
                        String command,
                        ArrayList parameters,
                        String trailing)
Method Detail

parse

public static ServerMessage parse(String raw)

isCommand

public boolean isCommand()

isResponse

public boolean isResponse()

getPrefix

public IrcPrefix getPrefix()

getCommand

public String getCommand()

getResponseCode

public ResponseCode getResponseCode()

getParameters

public ArrayList getParameters()

getTrailing

public String getTrailing()

getRaw

public String getRaw()

toString

public String toString()


Copyright © 2002-2005 Uwyn bvba/sprl. All Rights Reserved.