com.sun.sgs.impl.io
Interface FilterListener

All Known Implementing Classes:
SocketConnection

interface FilterListener

Receives the messages resulting from processing by a CompleteMessageFilter.


Method Summary
 void filteredMessageReceived(org.apache.mina.common.ByteBuffer buf)
          Notifies this listener that a complete, filtered message has been received and should be dispatched to the final recipient.
 void sendUnfiltered(org.apache.mina.common.ByteBuffer buf)
          Notifies this listener that an outbound message has been filtered (prepending the message length) and should be sent "raw" on the underlying transport.
 

Method Detail

filteredMessageReceived

void filteredMessageReceived(org.apache.mina.common.ByteBuffer buf)
Notifies this listener that a complete, filtered message has been received and should be dispatched to the final recipient.

Parameters:
buf - a MINA ByteBuffer containing the complete message

sendUnfiltered

void sendUnfiltered(org.apache.mina.common.ByteBuffer buf)
Notifies this listener that an outbound message has been filtered (prepending the message length) and should be sent "raw" on the underlying transport.

Parameters:
buf - a MINA ByteBuffer containing the message to send

Project Darkstar, Version 0.9.9.2
2013-07-29 20:45:08

Copyright © 2007-2013 Sun Microsystems, Inc. All rights reserved