XNIO API 2.0.0.GA

org.jboss.xnio.channels
Interface MessageHandler


public interface MessageHandler

A handler interface for incoming messages.


Nested Class Summary
static interface MessageHandler.Setter
           
 
Method Summary
 void handleEof()
           
 void handleException(java.io.IOException e)
           
 void handleMessage(java.nio.ByteBuffer buffer)
           
 

Method Detail

handleMessage

void handleMessage(java.nio.ByteBuffer buffer)

handleEof

void handleEof()

handleException

void handleException(java.io.IOException e)

XNIO API 2.0.0.GA

Copyright © 2009 JBoss, a division of Red Hat, Inc.