|
Open Model Railroad Network (OpenMRN)
|
#include <stdio.h>#include <unistd.h>#include <fcntl.h>#include "utils/GridConnectHub.hxx"#include "utils/DirectHub.hxx"#include "utils/socket_listener.hxx"#include "utils/FdUtils.hxx"Go to the source code of this file.
Classes | |
| class | ConnectionClient |
| Abstract base class for the Hub's connections. More... | |
| class | DeviceClosedNotify |
| Notification implementation that sets an external variable to -1 when notified. More... | |
| class | GCFdConnectionClient |
| Base class for FD-based GridConnect connection clients. More... | |
| class | DeviceConnectionClient |
| Connection client that opens a character device (such as an usb-serial) and sets the termios attributes as appropriate for linux and mac on a serial-to-can or usb-to-can controller. More... | |
| class | UpstreamConnectionClient |
| Connection client that connects to an upstream GridConnect-TCP hub via TCP client socket. More... | |
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Utilities for managing can-hub connections as a client application.
Definition in file ClientConnection.hxx.