net.sf.dexterim.msn.message
Class NewServerMessage

java.lang.Object
  extended bynet.sf.dexterim.msn.message.SingleLineMessage
      extended bynet.sf.dexterim.msn.message.NewServerMessage
All Implemented Interfaces:
MsnMessage

public class NewServerMessage
extends SingleLineMessage

Author:
Christoph Walcher

Constructor Summary
NewServerMessage()
          Creates a new instance of NewServerMessage
 
Method Summary
 MsnMessage addLine(java.lang.String line)
          Parses New Server Messages of the form XFR 2 NS 207.46.106.145:1863 0 207.46.104.20:1863
 java.lang.String getHost()
          Getter for property host.
 int getPort()
          Getter for property port.
 void process(MsnConnection connection)
          Double Dispatching Messages
 
Methods inherited from class net.sf.dexterim.msn.message.SingleLineMessage
addCharBlock, getRequiredByteInput, isCompleted, isMultipartMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewServerMessage

public NewServerMessage()
Creates a new instance of NewServerMessage

Method Detail

addLine

public MsnMessage addLine(java.lang.String line)
                   throws MessageFormatException
Parses New Server Messages of the form XFR 2 NS 207.46.106.145:1863 0 207.46.104.20:1863

Specified by:
addLine in interface MsnMessage
Overrides:
addLine in class SingleLineMessage
Parameters:
line - The feature to be added to the Line attribute
Returns:
Description of the Return Value
Throws:
MessageFormatException

getHost

public java.lang.String getHost()
Getter for property host.

Returns:
Value of property host.

getPort

public int getPort()
Getter for property port.

Returns:
Value of property port.

process

public void process(MsnConnection connection)
Description copied from interface: MsnMessage
Double Dispatching Messages

Parameters:
connection -


Copyright © 2003-2004 Dexter IM Team. All Rights Reserved.