org.indy.io
Interface IOHandlerListener

All Superinterfaces:
java.util.EventListener

public interface IOHandlerListener
extends java.util.EventListener

Listens for events from IOHandlers

Author:
Owen Green

Method Summary
 void onConnect(IOHandler sender)
          Fired when sender has sucessfully connected
 void onDisconnect(IOHandler sender)
          Fired when sender has disconnected
 void onStatus(IOHandler sender, Status status, java.lang.Object[] args)
          Fired when sender's status has changed.
 

Method Detail

onConnect

public void onConnect(IOHandler sender)
Fired when sender has sucessfully connected
Parameters:
sender - The IOHandler that has connected

onDisconnect

public void onDisconnect(IOHandler sender)
Fired when sender has disconnected
Parameters:
sender - The IOHandler that has disconnected

onStatus

public void onStatus(IOHandler sender,
                     Status status,
                     java.lang.Object[] args)
Fired when sender's status has changed.
Parameters:
sender - The IOHandler that has undergone a status change.
Status - The new Status.


Copyright © 2002-2002 IndyJ. All Rights Reserved.