Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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(java.io.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(java.io.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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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