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);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.tridium.fox.sys;
|
||||
|
||||
public interface NiagaraNetwork {
|
||||
NiagaraStation getStation(String str);
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.tridium.fox.sys;
|
||||
|
||||
import com.tridium.fox.message.FoxMessage;
|
||||
import javax.baja.naming.BHost;
|
||||
|
||||
public interface NiagaraStation {
|
||||
void clientClosed();
|
||||
|
||||
void clientOpened();
|
||||
|
||||
String getFaultCause();
|
||||
|
||||
int getFoxPort();
|
||||
|
||||
BHost getRemoteHost();
|
||||
|
||||
String getScheme();
|
||||
|
||||
String getStationName();
|
||||
|
||||
void initHello(FoxMessage foxMessage) throws Exception;
|
||||
|
||||
boolean isFatalFault();
|
||||
|
||||
void pingFail(String str);
|
||||
|
||||
void pingOk();
|
||||
|
||||
void serverClosed();
|
||||
|
||||
void serverOpened();
|
||||
}
|
||||
Reference in New Issue
Block a user