Uses of Interface
org.microproxy.tcp.TcpContext

Packages that use TcpContext
Package
Description
 
  • Uses of TcpContext in org.microproxy.tcp

    Methods in org.microproxy.tcp with parameters of type TcpContext
    Modifier and Type
    Method
    Description
    default void
    TcpInterceptor.tcpEnd(TcpContext context)
    The tunnel ended: both directions finished, or one side closed the connection.
    default void
    TcpInterceptor.tcpError(TcpContext context, Throwable error)
    The tunnel failed: a read or write failed (a reset, a timeout), and the connection was closed.
    default void
    TcpInterceptor.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, so send(boolean, byte[]) with the same fromClient can still add bytes in that direction.
    byte[]
    TcpInterceptor.tcpMessage(TcpMessage message, TcpContext context)
    Bytes read from one side, before they are passed on.
    default void
    TcpInterceptor.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).