SOMA.network.connection
Class SelfConnection
java.lang.Object
|
+--SOMA.network.connection.Connection
|
+--SOMA.network.connection.SelfConnection
- public class SelfConnection
- extends Connection
Autoconnessione: esegue in locale i comandi spediti.
- Author:
- Livio Profiri
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
SelfConnection
public SelfConnection(Environment env)
getStatus
public int getStatus()
- Overrides:
- getStatus in class Connection
start
public void start()
throws ConnectionException
- Metodo vuoto.
- Overrides:
- start in class Connection
stop
public void stop()
throws java.lang.Exception
- Metodo vuoto.
- Overrides:
- stop in class Connection
toString
public java.lang.String toString()
- Overrides:
- toString in class Connection
send
public void send(Command c)
throws java.io.IOException,
ConnectionException
- Esegue il comando.
- Overrides:
- send in class Connection
run
public void run()
- Metodo vuoto.
- Overrides:
- run in class Connection