Definition at line 887 of file DirectHub.cxx.
◆ DirectGcTcpHub()
Constructor.
- Parameters
-
| can_hub | Which CAN-hub should we attach the TCP gridconnect hub onto. |
| port | TCp port number to listen on. |
Definition at line 932 of file DirectHub.cxx.
◆ ~DirectGcTcpHub()
| DirectGcTcpHub::~DirectGcTcpHub |
( |
| ) |
|
◆ is_started()
| bool DirectGcTcpHub::is_started |
( |
| ) |
|
|
inline |
- Returns
- true of the listener is ready to accept incoming connections.
Definition at line 899 of file DirectHub.cxx.
◆ OnNewConnection()
| void DirectGcTcpHub::OnNewConnection |
( |
int |
fd | ) |
|
|
private |
Callback when a new connection arrives.
- Parameters
-
| fd | filedes of the freshly established incoming connection. |
Definition at line 917 of file DirectHub.cxx.
◆ gcHub_
◆ tcpListener_
Helper object representing the listening on the socket.
Definition at line 914 of file DirectHub.cxx.
The documentation for this class was generated from the following file: