public class NetworkDumpFilter extends IoFilterAdapter
IoFilter.NextFilter| Modifier and Type | Field and Description |
|---|---|
protected WritableByteChannel |
headers
Headers byte channel
|
protected static org.slf4j.Logger |
log
Logger
|
protected WritableByteChannel |
raw
Raw data byte channel
|
| Constructor and Description |
|---|
NetworkDumpFilter(WritableByteChannel headers,
WritableByteChannel raw)
Create network dump filter from given dump channels
|
| Modifier and Type | Method and Description |
|---|---|
void |
messageReceived(IoFilter.NextFilter next,
IoSession session,
Object message) |
void |
sessionClosed(IoFilter.NextFilter next,
IoSession session) |
destroy, exceptionCaught, filterClose, filterWrite, init, inputClosed, messageSent, onPostAdd, onPostRemove, onPreAdd, onPreRemove, sessionCreated, sessionIdle, sessionOpened, toStringprotected static org.slf4j.Logger log
protected WritableByteChannel raw
protected WritableByteChannel headers
public NetworkDumpFilter(WritableByteChannel headers, WritableByteChannel raw)
headers - Channel to dump headersraw - Channel to dump raw datapublic void messageReceived(IoFilter.NextFilter next, IoSession session, Object message) throws Exception
messageReceived in interface IoFiltermessageReceived in class IoFilterAdapterExceptionpublic void sessionClosed(IoFilter.NextFilter next, IoSession session) throws Exception
sessionClosed in interface IoFiltersessionClosed in class IoFilterAdapterExceptionCopyright © 2006-2012 The Red5 Project