com.inspirel.yami
Interface ConnectionEventCallback


public interface ConnectionEventCallback

The callback interface that is used to notify the user code about the change in the set of connections.


Nested Class Summary
static class ConnectionEventCallback.ConnectionEvent
          Type of connection event.
 
Method Summary
 void report(java.lang.String name, ConnectionEventCallback.ConnectionEvent event)
          Callback function that is automatically called by the agent whenever there is a change in the set of connections.
 

Method Detail

report

void report(java.lang.String name,
            ConnectionEventCallback.ConnectionEvent event)
            throws java.lang.Exception
Callback function that is automatically called by the agent whenever there is a change in the set of connections.

Parameters:
name - name of the reported connection
event - kind of connection event
Throws:
java.lang.Exception