public static class AmfConnection.ListenerAdapter extends java.lang.Object implements AmfConnection.IListener
ListenerAdapter
- AmfConnection.IListener
adapter.Constructor and Description |
---|
AmfConnection.ListenerAdapter()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
onConnect(AmfConnection connection,
java.lang.String id)
Notifies about connection to the server.
|
void |
onDisconnect(AmfConnection connection)
Notifies about disconnection from the server.
|
void |
onIOError(AmfConnection connection,
java.lang.String message)
Notifies about an input/output error occurred that causes a network operation to fail.
|
public AmfConnection.ListenerAdapter()
public void onIOError(AmfConnection connection, java.lang.String message)
AmfConnection.IListener
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
onIOError
in interface AmfConnection.IListener
public void onConnect(AmfConnection connection, java.lang.String id)
AmfConnection.IListener
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
onConnect
in interface AmfConnection.IListener
id
- session idpublic void onDisconnect(AmfConnection connection)
AmfConnection.IListener
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
onDisconnect
in interface AmfConnection.IListener