link start!

This commit is contained in:
cherubin
2026-03-17 13:31:18 -07:00
commit 08abe87cfb
5910 changed files with 386288 additions and 0 deletions
@@ -0,0 +1,18 @@
package com.tridium.ndriver.comm;
import com.tridium.ndriver.datatypes.BCommConfig;
import javax.baja.spy.SpyWriter;
public interface IComm {
void resetStats();
void setDefaultListener(ICommListener iCommListener);
void spy(SpyWriter spyWriter) throws Exception;
void start() throws Exception;
void stop() throws Exception;
void verifySettings(BCommConfig bCommConfig) throws Exception;
}
@@ -0,0 +1,5 @@
package com.tridium.ndriver.comm;
public interface ICommFilter {
boolean accept(NMessage nMessage);
}
@@ -0,0 +1,5 @@
package com.tridium.ndriver.comm;
public interface ICommListener {
void receiveMessage(NMessage nMessage);
}
@@ -0,0 +1,15 @@
package com.tridium.ndriver.comm;
public interface IFragmentable {
NMessage getFragmentAck();
Object getHash();
int getTimeout();
boolean isFinalFragment();
void merge(IFragmentable iFragmentable) throws Exception;
int size();
}
@@ -0,0 +1,18 @@
package com.tridium.ndriver.comm;
import com.tridium.ndriver.datatypes.BCommConfig;
import javax.baja.spy.SpyWriter;
public interface ILinkLayer {
void resetStats();
void sendMessage(LinkMessage linkMessage) throws Exception;
void spy(SpyWriter spyWriter) throws Exception;
void start() throws Exception;
void stop();
void verifySettings(BCommConfig bCommConfig) throws Exception;
}
@@ -0,0 +1,5 @@
package com.tridium.ndriver.comm;
public interface IMessageFactory {
NMessage makeMessage(LinkMessage linkMessage) throws Exception;
}
@@ -0,0 +1,7 @@
package com.tridium.ndriver.comm.tcp;
import com.tridium.ndriver.datatypes.BIpAddress;
public interface ITcpEventListener {
void socketTerminated(BIpAddress bIpAddress, boolean z);
}