WPILibC++  unspecified
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
nt::Dispatcher Class Reference
Inheritance diagram for nt::Dispatcher:
nt::DispatcherBase

Public Member Functions

void StartServer (StringRef persist_filename, const char *listen_address, unsigned int port)
 
void SetServer (const char *server_name, unsigned int port)
 
void SetServer (ArrayRef< std::pair< StringRef, unsigned int >> servers)
 
void SetServerOverride (const char *server_name, unsigned int port)
 
void ClearServerOverride ()
 
- Public Member Functions inherited from nt::DispatcherBase
void StartServer (llvm::StringRef persist_filename, std::unique_ptr< wpi::NetworkAcceptor > acceptor)
 
void StartClient ()
 
void Stop ()
 
void SetUpdateRate (double interval)
 
void SetIdentity (llvm::StringRef name)
 
void Flush ()
 
std::vector< ConnectionInfoGetConnections () const
 
void NotifyConnections (ConnectionListenerCallback callback) const
 
void SetConnector (Connector connector)
 
void SetConnector (std::vector< Connector > &&connectors)
 
void SetConnectorOverride (Connector connector)
 
void ClearConnectorOverride ()
 
bool active () const
 
 DispatcherBase (const DispatcherBase &)=delete
 
DispatcherBaseoperator= (const DispatcherBase &)=delete
 

Static Public Member Functions

static DispatcherGetInstance ()
 

Friends

class DispatcherTest
 

Additional Inherited Members

- Public Types inherited from nt::DispatcherBase
typedef std::function
< std::unique_ptr
< wpi::NetworkStream >)> 
Connector
 
- Protected Member Functions inherited from nt::DispatcherBase
 DispatcherBase (Storage &storage, Notifier &notifier)
 

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