org.red5.server.net.proxy
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, messageSent, onPostAdd, onPostRemove, onPreAdd, onPreRemove, sessionCreated, sessionIdle, sessionOpened, toString
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(IoFilter.NextFilter next, IoSession session, Object message) throws Exception
messageReceived
in interface IoFilter
messageReceived
in class IoFilterAdapter
Exception
public void sessionClosed(IoFilter.NextFilter next, IoSession session) throws Exception
sessionClosed
in interface IoFilter
sessionClosed
in class IoFilterAdapter
Exception
Copyright © 2006-2012 The Red5 Project