com.uwyn.drone.core
Class Server
java.lang.Object
com.uwyn.drone.core.Server
- All Implemented Interfaces:
- Runnable, TimedOutputStreamListener
- public class Server
- extends Object
- implements Runnable, TimedOutputStreamListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getServerName
public String getServerName()
getServerInfo
public com.uwyn.drone.core.ServerInfo getServerInfo()
getServerSocket
public Socket getServerSocket()
getChannel
public Channel getChannel(String name)
connect
public void connect()
throws CoreException
- Throws:
CoreException
disconnect
public void disconnect()
throws CoreException
- Throws:
CoreException
run
public void run()
- Specified by:
run
in interface Runnable
isConnected
public boolean isConnected()
reconnect
public void reconnect()
throws CoreException
- Throws:
CoreException
exceptionThrow
public void exceptionThrow(IOException e)
- Specified by:
exceptionThrow
in interface TimedOutputStreamListener
addServerListener
public boolean addServerListener(ServerListener listener)
removeServerListener
public boolean removeServerListener(ServerListener listener)
addCommandListener
public boolean addCommandListener(CommandListener listener)
removeCommandListener
public boolean removeCommandListener(CommandListener listener)
addResponseListener
public boolean addResponseListener(ResponseListener listener)
removeResponseListener
public boolean removeResponseListener(ResponseListener listener)
Copyright © 2002-2005 Uwyn bvba/sprl. All Rights Reserved.