|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mina.common.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.common.IoFilter |
|---|
org.apache.mina.common.IoFilter.NextFilter, org.apache.mina.common.IoFilter.WriteRequest |
| Field Summary | |
|---|---|
protected WritableByteChannel |
headers
Headers byte channel |
protected static org.slf4j.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.common.IoFilter.NextFilter next,
org.apache.mina.common.IoSession session,
Object message)
|
void |
sessionClosed(org.apache.mina.common.IoFilter.NextFilter next,
org.apache.mina.common.IoSession session)
|
| Methods inherited from class org.apache.mina.common.IoFilterAdapter |
|---|
destroy, exceptionCaught, filterClose, filterWrite, init, messageSent, onPostAdd, onPostRemove, onPreAdd, onPreRemove, sessionCreated, sessionIdle, sessionOpened |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.slf4j.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 data| Method Detail |
|---|
public void messageReceived(org.apache.mina.common.IoFilter.NextFilter next,
org.apache.mina.common.IoSession session,
Object message)
throws Exception
messageReceived in interface org.apache.mina.common.IoFiltermessageReceived in class org.apache.mina.common.IoFilterAdapterException
public void sessionClosed(org.apache.mina.common.IoFilter.NextFilter next,
org.apache.mina.common.IoSession session)
throws Exception
sessionClosed in interface org.apache.mina.common.IoFiltersessionClosed in class org.apache.mina.common.IoFilterAdapterException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||