Package edu.wpi.first.wpilibj.tables
Interface IRemote
-
- All Known Implementing Classes:
NetworkTable
@Deprecated public interface IRemote
Deprecated.UseNetworkTableInstance.Represents an object that has a remote connection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidaddConnectionListener(IRemoteConnectionListener listener, boolean immediateNotify)Deprecated.Register an object to listen for connection and disconnection eventsbooleanisConnected()Deprecated.Get the current state of the objects connectionbooleanisServer()Deprecated.If the object is acting as a servervoidremoveConnectionListener(IRemoteConnectionListener listener)Deprecated.Unregister a listener from connection events
-
-
-
Method Detail
-
addConnectionListener
void addConnectionListener(IRemoteConnectionListener listener, boolean immediateNotify)
Deprecated.Register an object to listen for connection and disconnection events- Parameters:
listener- the listener to be registerimmediateNotify- if the listener object should be notified of the current connection state
-
removeConnectionListener
void removeConnectionListener(IRemoteConnectionListener listener)
Deprecated.Unregister a listener from connection events- Parameters:
listener- the listener to be unregistered
-
isConnected
boolean isConnected()
Deprecated.Get the current state of the objects connection- Returns:
- the current connection state
-
isServer
boolean isServer()
Deprecated.If the object is acting as a server- Returns:
- if the object is a server
-
-