public final class ConnectionNotification extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
ConnectionInfo |
conn
Connection information.
|
boolean |
connected
True if event is due to connection being established.
|
int |
listener
Listener that was triggered.
|
Constructor and Description |
---|
ConnectionNotification(NetworkTableInstance inst,
int listener,
boolean connected,
ConnectionInfo conn)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
NetworkTableInstance |
getInstance() |
public final int listener
public final boolean connected
public final ConnectionInfo conn
public ConnectionNotification(NetworkTableInstance inst, int listener, boolean connected, ConnectionInfo conn)
inst
- Instancelistener
- Listener that was triggeredconnected
- Connected if trueconn
- Connection informationpublic NetworkTableInstance getInstance()