|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProxyLogicHandler
ProxyLogicHandler.java - Interface implemented by classes containing proxy type specific logic.
Method Summary | |
---|---|
void |
doHandshake(IoFilter.NextFilter nextFilter)
Called at each step of the handshake procedure. |
void |
enqueueWriteRequest(IoFilter.NextFilter nextFilter,
WriteRequest writeRequest)
Enqueue a message to be written once handshaking is complete. |
ProxyIoSession |
getProxyIoSession()
Returns the ProxyIoSession . |
boolean |
isHandshakeComplete()
Tests if handshake process is complete. |
void |
messageReceived(IoFilter.NextFilter nextFilter,
IoBuffer buf)
Handle incoming data during the handshake process. |
Method Detail |
---|
boolean isHandshakeComplete()
true
if handshaking is complete and
data can be sent through the proxy, false otherwise.void messageReceived(IoFilter.NextFilter nextFilter, IoBuffer buf) throws ProxyAuthException
nextFilter
- the next filter in the filter chainbuf
- the buffer holding the received data
ProxyAuthException
- if authentication failsvoid doHandshake(IoFilter.NextFilter nextFilter) throws ProxyAuthException
nextFilter
- the next filter in filter chain
ProxyAuthException
- if authentication failsProxyIoSession getProxyIoSession()
ProxyIoSession
.
void enqueueWriteRequest(IoFilter.NextFilter nextFilter, WriteRequest writeRequest)
nextFilter
- the next filter in filter chainwriteRequest
- the data to be written
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |