org.neodatis.odb.impl.core.server.layers.layer3.engine
Class ServerAdmin

java.lang.Object
  extended by org.neodatis.odb.impl.core.server.layers.layer3.engine.ServerAdmin

public class ServerAdmin
extends java.lang.Object

Author:
olivier

Constructor Summary
ServerAdmin(java.lang.String host, int port)
           
 
Method Summary
 void close()
           
 java.lang.String getHost()
           
 int getPort()
           
 Message sendMessage(Message msg)
          Opens socket send message and close.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerAdmin

public ServerAdmin(java.lang.String host,
                   int port)
Method Detail

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

sendMessage

public Message sendMessage(Message msg)
Opens socket send message and close.

Parameters:
msg -
Returns:
The response message @

getHost

public java.lang.String getHost()

getPort

public int getPort()