|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.anotheria.net.shared.server.AbstractConnection
public abstract class AbstractConnection
Base class for IConnection implementations.
| Constructor Summary | |
|---|---|
protected |
AbstractConnection()
Creates a new abstract connection with an empty listeners list. |
| Method Summary | |
|---|---|
void |
addConnectionListener(IConnectionListener listener)
Adds a connection listeners. |
void |
close()
Closes a conection. |
void |
open()
Opens a connection. |
void |
removeConnectionListener(IConnectionListener listener)
Removes the given connection listener. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractConnection()
| Method Detail |
|---|
public void addConnectionListener(IConnectionListener listener)
IConnection
addConnectionListener in interface IConnectionlistener - the listener to addpublic void close()
IConnection
close in interface IConnectionpublic void open()
IConnection
open in interface IConnectionpublic void removeConnectionListener(IConnectionListener listener)
IConnection
removeConnectionListener in interface IConnectionlistener - the listener to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||