Uses of Interface
org.microproxy.tcp.TcpContext
Packages that use TcpContext
-
Uses of TcpContext in org.microproxy.tcp
Methods in org.microproxy.tcp with parameters of type TcpContextModifier and TypeMethodDescriptiondefault voidTcpInterceptor.tcpEnd(TcpContext context) The tunnel ended: both directions finished, or one side closed the connection.default voidTcpInterceptor.tcpError(TcpContext context, Throwable error) The tunnel failed: a read or write failed (a reset, a timeout), and the connection was closed.default voidTcpInterceptor.tcpHalfClose(TcpContext context, boolean fromClient) One side finished sending (end of stream, a TCP half-close): called before the end is passed on to the other side, sosend(boolean, byte[])with the samefromClientcan still add bytes in that direction.byte[]TcpInterceptor.tcpMessage(TcpMessage message, TcpContext context) Bytes read from one side, before they are passed on.default voidTcpInterceptor.tcpStart(TcpContext context) A tunnel opened: both sides are connected, nothing has been relayed yet (except the bytes the proxy read to decide what the connection is, which follow as the first message).