link start!
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package com.tridium.fox.session;
|
||||
|
||||
import com.tridium.fox.message.FoxMessage;
|
||||
|
||||
public interface FoxAsyncCallbacks {
|
||||
void asyncMessageSent(FoxSession foxSession, FoxMessage foxMessage);
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user