public class NetworkDumpFilter
extends org.apache.mina.core.filterchain.IoFilterAdapter
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(org.apache.mina.core.filterchain.IoFilter.NextFilter next,
org.apache.mina.core.session.IoSession session,
Object message) |
void |
sessionClosed(org.apache.mina.core.filterchain.IoFilter.NextFilter next,
org.apache.mina.core.session.IoSession session) |
protected 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(org.apache.mina.core.filterchain.IoFilter.NextFilter next, org.apache.mina.core.session.IoSession session, Object message) throws Exception
messageReceived
in interface org.apache.mina.core.filterchain.IoFilter
messageReceived
in class org.apache.mina.core.filterchain.IoFilterAdapter
Exception
public void sessionClosed(org.apache.mina.core.filterchain.IoFilter.NextFilter next, org.apache.mina.core.session.IoSession session) throws Exception
sessionClosed
in interface org.apache.mina.core.filterchain.IoFilter
sessionClosed
in class org.apache.mina.core.filterchain.IoFilterAdapter
Exception
Copyright © 2006-2012 The Red5 Project