org.red5.server.net.proxy
Class ProxyFilter
java.lang.Object
org.apache.mina.core.filterchain.IoFilterAdapter
org.red5.server.net.proxy.ProxyFilter
- All Implemented Interfaces:
- IoFilter
public class ProxyFilter
- extends IoFilterAdapter
Proxy filter
Methods inherited from class org.apache.mina.core.filterchain.IoFilterAdapter |
destroy, exceptionCaught, filterClose, filterWrite, init, messageSent, onPostAdd, onPostRemove, onPreAdd, onPreRemove, sessionCreated, sessionIdle, sessionOpened, toString |
FORWARD_KEY
public static final String FORWARD_KEY
- Forwarding key constant
- See Also:
- Constant Field Values
log
protected static Logger log
- Logger
name
protected String name
- Filter name
ProxyFilter
public ProxyFilter(String name)
- Create proxy filter with given name
- Parameters:
name
- name
messageReceived
public void messageReceived(IoFilter.NextFilter next,
IoSession session,
Object message)
throws Exception
-
- Specified by:
messageReceived
in interface IoFilter
- Overrides:
messageReceived
in class IoFilterAdapter
- Throws:
Exception
sessionClosed
public void sessionClosed(IoFilter.NextFilter next,
IoSession session)
throws Exception
-
- Specified by:
sessionClosed
in interface IoFilter
- Overrides:
sessionClosed
in class IoFilterAdapter
- Throws:
Exception
Copyright © 2006-2012 The Red5 Project