Definizione alla linea 23 del file ConnectionObserver.java.
Membri pubblici | |
ConnectionObserver (ConnectionEventHandler handler) | |
Creates a new instance of ConnectionObserver. | |
void | update (Observable o, Object arg) |
Attributi con visibilità di package | |
ConnectionEventHandler | handler |
|
Creates a new instance of ConnectionObserver.
Definizione alla linea 27 del file ConnectionObserver.java. 00027 { 00028 this.handler = handler; 00029 }
|
|
Implementa org.jaebi.midlet.util.Observer. Definizione alla linea 31 del file ConnectionObserver.java. Riferimenti org.jaebi.midlet.bt.ConnectionEventHandler.connectionAdded(), org.jaebi.midlet.bt.ConnectionEventHandler.connectionRemoved(), org.jaebi.midlet.bt.ConnectionEvent.getConnection(), org.jaebi.midlet.bt.ConnectionEvent.getEvent(), e org.jaebi.midlet.bt.ConnectionObserver.handler. 00031 { 00032 ConnectionSet connectionSet = (ConnectionSet) o; 00033 ConnectionEvent event = (ConnectionEvent) arg; 00034 00035 switch(event.getEvent()){ 00036 case ConnectionEvent.CONNECTION_ADDED: 00037 handler.connectionAdded(event.getConnection()); 00038 break; 00039 00040 case ConnectionEvent.CONNECTION_REMOVED: 00041 handler.connectionRemoved(event.getConnection()); 00042 break; 00043 } 00044 00045 }
Questo è il grafo delle chiamate per questa funzione: ![]() |
|
Definizione alla linea 24 del file ConnectionObserver.java. Referenziato da org.jaebi.midlet.bt.ConnectionObserver.update(). |