|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSOMA.network.connection.Connection
SOMA.network.connection.SelfConnection
Autoconnessione: esegue in locale i comandi spediti.
Field Summary |
Fields inherited from class SOMA.network.connection.Connection |
env, ErrorDescription, myDaemon, myObjectInputStream, myObjectOutputStream, mySocket, status |
Fields inherited from interface SOMA.network.connection.Daemon |
ERROR, OFF, ON |
Constructor Summary | |
SelfConnection(Environment env)
|
Method Summary | |
java.lang.Object |
getStatus()
restituisce lo stato della connessione. |
void |
run()
Metodo vuoto. |
void |
send(Command c)
Esegue il comando. |
void |
start()
Metodo vuoto. |
void |
stop()
Metodo vuoto. |
java.lang.String |
toString()
|
Methods inherited from class SOMA.network.connection.Connection |
getIn, getOut |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SelfConnection(Environment env)
Method Detail |
public java.lang.Object getStatus()
Connection
getStatus
in interface Daemon
getStatus
in class Connection
public void start() throws ConnectionException
start
in interface Daemon
start
in class Connection
ConnectionException
public void stop() throws java.lang.Exception
stop
in interface Daemon
stop
in class Connection
java.lang.Exception
public java.lang.String toString()
toString
in class Connection
public void send(Command c) throws java.io.IOException, ConnectionException
send
in class Connection
java.io.IOException
ConnectionException
public void run()
run
in interface java.lang.Runnable
run
in class Connection
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |