SOMA.network.connection
Class ExplorableConnectionFactory
java.lang.Object
SOMA.network.connection.ConnectionFactory
SOMA.network.connection.ExplorableConnectionFactory
- public class ExplorableConnectionFactory
- extends ConnectionFactory
ConnectionFactory
che aggiunge ad un menu
una nuova voce
per ogni connessione creata.
Questa permette all'utente di controllare tutte le connessioni create.
E' possibile ad esempio interromperle, monitorarne lo stato o spedire messaggi.
- Author:
- Livio Profiri
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
store
DirExplorerItem store
prefixString
java.lang.String prefixString
count
int count
ExplorableConnectionFactory
public ExplorableConnectionFactory(Environment env,
DirExplorerItem store,
java.lang.String prefixString)
- Costruttore.
- Parameters:
env
- L'environment del place.store
- Il menu a cui aggiungere le nuove voci
.prefixString
- Prefisso di ogni voce
creata.
createConnection
public Connection createConnection(java.net.Socket s)
- Crea la connessione ed aggiunge la nuova
voce di menu
.
- Overrides:
createConnection
in class ConnectionFactory
Copyright © 2004 Luca Foschini