org.red5.server.net.proxy
public class ProxyFilter extends IoFilterAdapter
IoFilter.NextFilter
Modifier and Type | Field and Description |
---|---|
static String |
FORWARD_KEY
Forwarding key constant
|
protected static org.slf4j.Logger |
log
Logger
|
protected String |
name
Filter name
|
Constructor and Description |
---|
ProxyFilter(String name)
Create proxy filter with given name
|
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
public static final String FORWARD_KEY
protected static org.slf4j.Logger log
protected String name
public ProxyFilter(String name)
name
- namepublic 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