org.siebengeisslein.net.message
Class GetRootMessage

java.lang.Object
  extended by org.siebengeisslein.net.message.RequestIdMessage
      extended by org.siebengeisslein.net.message.GetRootMessage
All Implemented Interfaces:
ClientMessage, Message

public class GetRootMessage
extends RequestIdMessage
implements ClientMessage


Constructor Summary
GetRootMessage(java.io.DataInputStream in)
           
GetRootMessage(java.lang.String rootName, int requestId)
           
 
Method Summary
 void dispatch(ConnectionState state)
           
 byte getOpCode()
           
 void write(java.io.DataOutputStream out)
           
 
Methods inherited from class org.siebengeisslein.net.message.RequestIdMessage
getRequestId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetRootMessage

public GetRootMessage(java.io.DataInputStream in)
               throws java.io.IOException
Throws:
java.io.IOException

GetRootMessage

public GetRootMessage(java.lang.String rootName,
                      int requestId)
Method Detail

write

public void write(java.io.DataOutputStream out)
           throws java.io.IOException
Specified by:
write in interface Message
Overrides:
write in class RequestIdMessage
Throws:
java.io.IOException

dispatch

public void dispatch(ConnectionState state)
              throws java.io.IOException,
                     CoreException,
                     java.lang.InterruptedException
Specified by:
dispatch in interface ClientMessage
Throws:
java.io.IOException
CoreException
java.lang.InterruptedException

getOpCode

public byte getOpCode()
Specified by:
getOpCode in interface Message