2026-03-17 13:31:18 -07:00

29 lines
753 B
Java

package com.tridium.fox.session;
import com.tridium.fox.message.FoxMessage;
import java.net.Socket;
public interface FoxConnection {
void circuitOpened(FoxCircuit foxCircuit) throws Throwable;
Socket createTunnelSocket(String str, boolean z) throws Exception;
void error(String str, Throwable th);
String[] getTunnelAuthorities();
void initHello(FoxMessage foxMessage) throws Exception;
boolean isTunnelClientConnection();
boolean isTunnelServerConnection();
Thread makeThread(ThreadGroup threadGroup, Runnable runnable, String str);
FoxResponse process(FoxRequest foxRequest) throws Throwable;
void sessionClosed(FoxSession foxSession, Throwable th);
void sessionOpened(FoxSession foxSession);
}