link start!
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
package com.tridium.nv;
|
||||
|
||||
import com.tridium.nv.BNiagaraVirtualGateway.PartialSlotInfo;
|
||||
import com.tridium.nv.point.BVirtualAction;
|
||||
import com.tridium.nv.point.IProxyActionParent;
|
||||
import javax.baja.naming.BOrd;
|
||||
import javax.baja.sys.BValue;
|
||||
|
||||
public interface INiagaraVirtualCommsAdapter {
|
||||
void error(String str, Exception exception);
|
||||
|
||||
BValue getActionDefault(IProxyActionParent iProxyActionParent, BVirtualAction bVirtualAction, String str) throws Exception;
|
||||
|
||||
BValue invokeAction(IProxyActionParent iProxyActionParent, BVirtualAction bVirtualAction, BValue bValue, String str) throws Exception;
|
||||
|
||||
boolean isTraceOn();
|
||||
|
||||
BVirtualAction[] loadActions(IProxyActionParent iProxyActionParent, String str) throws Exception;
|
||||
|
||||
PartialSlotInfo[] loadPartial(BOrd bOrd, BOrd[] bOrdArr, String str) throws Exception;
|
||||
|
||||
BSlotInfo[] loadSlots(BOrd bOrd, String str) throws Exception;
|
||||
|
||||
void message(String str);
|
||||
|
||||
void trace(String str);
|
||||
|
||||
void write(BOrd bOrd, String str, BValue bValue, String str2) throws Exception;
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.tridium.nv;
|
||||
|
||||
import com.tridium.nv.point.INiagaraProxyExt;
|
||||
import javax.baja.log.Log;
|
||||
import javax.baja.status.BStatus;
|
||||
import javax.baja.util.Version;
|
||||
|
||||
public interface INiagaraVirtualStationAdapter {
|
||||
Log getLog();
|
||||
|
||||
BNiagaraVirtualPolicies getNiagaraVirtualPolicies();
|
||||
|
||||
Object getStateLock();
|
||||
|
||||
String getStationName();
|
||||
|
||||
BStatus getStationStatus();
|
||||
|
||||
Version getStationVersion(Version version);
|
||||
|
||||
boolean isVirtualsEnabled();
|
||||
|
||||
void registerProxyExt(INiagaraProxyExt iNiagaraProxyExt);
|
||||
|
||||
void unregisterProxyExt(INiagaraProxyExt iNiagaraProxyExt);
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
package com.tridium.nv.point;
|
||||
|
||||
import javax.baja.log.Log;
|
||||
import javax.baja.sys.BValue;
|
||||
|
||||
public interface INiagaraProxyExt {
|
||||
void commitSubscriptionError(String str);
|
||||
|
||||
Log getLog();
|
||||
|
||||
int getMessageId();
|
||||
|
||||
String getPointId();
|
||||
|
||||
String getPointType();
|
||||
|
||||
Object getStateLock();
|
||||
|
||||
String getStationName();
|
||||
|
||||
String getSubscriptionError();
|
||||
|
||||
BSubscriptionState getSubscriptionState();
|
||||
|
||||
boolean isActionFetchRequired();
|
||||
|
||||
boolean isDisabled();
|
||||
|
||||
boolean isPointSubscribed();
|
||||
|
||||
void pendingSubscribe();
|
||||
|
||||
void readFail(String str);
|
||||
|
||||
void readValueOk(BValue bValue);
|
||||
|
||||
void sendingSubscribe();
|
||||
|
||||
void sendingUnsubscribe();
|
||||
|
||||
void sentSubscribe();
|
||||
|
||||
void sentUnsubscribe();
|
||||
|
||||
void setProxySubscriptionStatus(String str);
|
||||
|
||||
void setSubscriptionError(String str);
|
||||
|
||||
void setSubscriptionState(BSubscriptionState bSubscriptionState);
|
||||
|
||||
void updateActions(BVirtualAction[] bVirtualActionArr);
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.tridium.nv.point;
|
||||
|
||||
import javax.baja.sys.BString;
|
||||
import javax.baja.sys.BValue;
|
||||
|
||||
public interface IProxyActionParent {
|
||||
String getPointId();
|
||||
|
||||
BValue getProxyActionDefault(BString bString);
|
||||
|
||||
BValue invokeAction(BVirtualAction bVirtualAction, BValue bValue) throws Exception;
|
||||
}
|
||||
Reference in New Issue
Block a user