link start!
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package javax.baja.lonworks;
|
||||
|
||||
import javax.baja.lonworks.datatypes.BSubnetNode;
|
||||
import javax.baja.lonworks.datatypes.LonAddress;
|
||||
|
||||
public interface LonComm {
|
||||
BLonNetwork lonNetwork();
|
||||
|
||||
void registerLonListener(LonListener lonListener, int i, BSubnetNode bSubnetNode, Class cls);
|
||||
|
||||
void sendAcked(LonAddress lonAddress, LonMessage lonMessage) throws LonException;
|
||||
|
||||
LonMessage sendRequest(LonAddress lonAddress, LonMessage lonMessage) throws LonException;
|
||||
|
||||
void sendResponse(LonMessage lonMessage, LonMessage lonMessage2);
|
||||
|
||||
void sendUnackRepeat(LonAddress lonAddress, LonMessage lonMessage) throws LonException;
|
||||
|
||||
void sendUnacknowledged(LonAddress lonAddress, LonMessage lonMessage) throws LonException;
|
||||
|
||||
void unregisterLonListener(LonListener lonListener, int i, BSubnetNode bSubnetNode);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package javax.baja.lonworks;
|
||||
|
||||
public interface LonListener {
|
||||
void receiveLonMessage(LonMessage lonMessage);
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package javax.baja.lonworks.datatypes;
|
||||
|
||||
public interface LonAddress {
|
||||
public static final int BROADCAST = 3;
|
||||
public static final int IMPLICIT = 126;
|
||||
public static final int LOCAL = 127;
|
||||
public static final int NEURON_ID = 2;
|
||||
public static final int SUBNET_NODE = 1;
|
||||
public static final int UNASSIGNED = 0;
|
||||
|
||||
int getAddressType();
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package javax.baja.lonworks.io;
|
||||
|
||||
public interface AppBuffer {
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package javax.baja.lonworks.io;
|
||||
|
||||
public interface LonLinkLayer {
|
||||
void sendLonMessage(AppBuffer appBuffer);
|
||||
|
||||
void start() throws Exception;
|
||||
|
||||
void stop();
|
||||
|
||||
void verifySettings() throws Exception;
|
||||
}
|
||||
Reference in New Issue
Block a user