org.activeio
Interface RequestListener


public interface RequestListener

An RequestListener object is used to receive remote requests from a a RequestChannel

Version:
$Revision$

Method Summary
 Packet onRequest(Packet request)
          A RequestChannel will call this method when a new request arrives.
 void onRquestError(IOException error)
          A RequestChannel will call this method when a async failure occurs when receiving a request.
 

Method Detail

onRequest

public Packet onRequest(Packet request)
A RequestChannel will call this method when a new request arrives.


onRquestError

public void onRquestError(IOException error)
A RequestChannel will call this method when a async failure occurs when receiving a request.

Parameters:
error - the exception that describes the failure.


Copyright © -2007 The ActiveIO Project. All Rights Reserved.