public class BCMConnection extends SocketcandConnection
SocketcandConnection and adds methods
that bring a socketcand in BCM mode. Frames are delivered asynchronously
through an own thread.busName, host, port| Constructor and Description |
|---|
BCMConnection(BusURL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSendJob(int id,
boolean extended,
byte[] data,
int sec,
int usec) |
void |
close() |
java.lang.Boolean |
isConnected() |
void |
open() |
void |
removeSendJob(int id,
boolean extended) |
void |
sendFrame(Frame f) |
void |
subscribeTo(int id,
boolean extended,
int sec,
int usec) |
void |
unsubscribeFrom(int id,
boolean extended) |
getBusName, getElement, getHost, getListener, getPort, setInput, setListenerpublic BCMConnection(BusURL url)
public java.lang.Boolean isConnected()
public void open()
public void close()
public void subscribeTo(int id,
boolean extended,
int sec,
int usec)
public void unsubscribeFrom(int id,
boolean extended)
public void addSendJob(int id,
boolean extended,
byte[] data,
int sec,
int usec)
public void removeSendJob(int id,
boolean extended)
public void sendFrame(Frame f)
Data In Motion Consulting GmbH