Now you can download a copy of these docs so you can use them offline! Download now
IRemote Class Referenceabstract

#include <IRemote.h>

Inheritance diagram for IRemote:

Public Member Functions

virtual void AddConnectionListener (IRemoteConnectionListener *listener, bool immediateNotify)=0
 
virtual void RemoveConnectionListener (IRemoteConnectionListener *listener)=0
 
virtual bool IsConnected ()=0
 
virtual bool IsServer ()=0
 

Detailed Description

Represents an object that has a remote connection

Author
Mitchell

Definition at line 24 of file IRemote.h.

Member Function Documentation

virtual void IRemote::AddConnectionListener ( IRemoteConnectionListener listener,
bool  immediateNotify 
)
pure virtual

Register an object to listen for connection and disconnection events

Parameters
listenerthe listener to be register
immediateNotifyif the listener object should be notified of the current connection state

Implemented in NetworkTable, and NetworkTableNode.

virtual bool IRemote::IsConnected ( )
pure virtual

Get the current state of the objects connection

Returns
the current connection state

Implemented in NetworkTable, NetworkTableServer, and NetworkTableClient.

virtual bool IRemote::IsServer ( )
pure virtual

If the object is acting as a server

Returns
if the object is a server

Implemented in NetworkTable, NetworkTableServer, and NetworkTableClient.

virtual void IRemote::RemoveConnectionListener ( IRemoteConnectionListener listener)
pure virtual

Unregister a listener from connection events

Parameters
listenerthe listener to be unregistered

Implemented in NetworkTable, and NetworkTableNode.


The documentation for this class was generated from the following file:

Generated on Sat Apr 26 2014 12:26:46 for WPILibC++ by doxygen 1.8.6