|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mina.core.filterchain.IoFilterAdapter
org.red5.server.net.proxy.NetworkDumpFilter
public class NetworkDumpFilter
Network dump filter, performs raw data and headers dump on message recieve
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.mina.core.filterchain.IoFilter |
---|
org.apache.mina.core.filterchain.IoFilter.NextFilter |
Field Summary | |
---|---|
protected WritableByteChannel |
headers
Headers byte channel |
protected static Logger |
log
Logger |
protected WritableByteChannel |
raw
Raw data byte channel |
Constructor Summary | |
---|---|
NetworkDumpFilter(WritableByteChannel headers,
WritableByteChannel raw)
Create network dump filter from given dump channels |
Method Summary | |
---|---|
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)
|
Methods inherited from class org.apache.mina.core.filterchain.IoFilterAdapter |
---|
destroy, exceptionCaught, filterClose, filterWrite, init, messageSent, onPostAdd, onPostRemove, onPreAdd, onPreRemove, sessionCreated, sessionIdle, sessionOpened, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static Logger log
protected WritableByteChannel raw
protected WritableByteChannel headers
Constructor Detail |
---|
public NetworkDumpFilter(WritableByteChannel headers, WritableByteChannel raw)
headers
- Channel to dump headersraw
- Channel to dump raw dataMethod Detail |
---|
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |