Namespaces |
namespace | exception |
namespace | Gtk |
namespace | IPv4 |
| The conexus::IPv4 namespace contains classes capable of communicating at OSI Layers 3 (Network) and 4 (Transport) which includes support for raw IP, TCP/IP and UDP/IP communications [ For more information see IP(7) ].
|
namespace | IPv6 |
| The conexus::IPv6 namespace contains classes capable of communicating at OSI Layers 3 (Network) and 4 (Transport) which includes support for raw IP, TCP/IP and UDP/IP communications [ For more information see IP(7) ].
|
namespace | LL |
| The conexus::LL (Link Layer) namespace contains classes capable of communicating directly at the OSI Layer 2 and allows protocol modules to be implemented in user space directly on top of the physical layer [ For more information see PACKET(7) ].
|
namespace | Network |
namespace | NSPR |
namespace | NSS |
namespace | SSL |
Classes |
class | Address |
| This top level class provides a pure-virtual inheritance interface for children to inherit from. More...
|
class | Data |
| This structure represents a data chunk. More...
|
struct | Timeout |
class | Endpoint |
| This class is the top level object for all subclasses performing I/O (Input/Output) operations. More...
|
class | EndpointServer |
| The EndpointServer generates Endpoints as a result of operation. More...
|
class | conexus_exception |
| Base class for all conexus library exceptions. More...
|
class | interface_index_exception |
| Interface index error. More...
|
class | address_exception |
| Base class for all address exceptions. More...
|
class | bind_exception |
| Base class for all binding exceptions. More...
|
class | close_exception |
| Base class for all close exceptions. More...
|
class | connect_exception |
| Base class for all connect exceptions. More...
|
class | listen_exception |
| Base class for all listen exceptions. More...
|
class | open_exception |
| Base class for all open exceptions. More...
|
class | read_exception |
| Base class for all receiving exceptions. More...
|
class | socket_exception |
| Base class for all binding exceptions. More...
|
class | state_exception |
| Base class for all state transition exceptions. More...
|
class | write_exception |
| Base class for all write exceptions. More...
|
class | Factory |
class | File |
| This class encapsulates a file. More...
|
class | FileDescriptor |
| This class is the top level object for all subclasses performing I/O (Input/Output) operations via file descriptors (which in Linux/Unix/POSIX can be used for almost all I/O). More...
|
class | IP |
| This class serves as the base class for all IP communication classes. More...
|
class | IPAddressInterface |
| IP network address interface. More...
|
class | MessageQueue |
| This class encapsulates a POSIX message queue. More...
|
class | Object |
| This class provides a common inheritance hierarchy for all conexus objects. More...
|
class | Pipe |
| This class encapsulates a POSIX pipe. More...
|
class | Registry |
| This class serves as a registy for named endpoints and endpoint servers. More...
|
class | Serial |
| This class encapsulates a raw serial port. More...
|
class | SerialInterface |
class | Server |
class | Socket |
| This class encapsulates Linux's BSD Socket API and serves as the base class for all objects performing socket I/O. More...
|
class | TimeVal |
class | TTY |
| This class extends Serial to include operations upon TTY (TeleTYpe) serial communications. More...
|
class | TTYInterface |
class | nss_exception |
| Base class for all nss exceptions. More...
|
Typedefs |
typedef enum Conexus::DataMode | DataMode |
typedef enum Conexus::ReadWrite | ReadWrite |
typedef enum Conexus::EndpointState | EndpointState |
typedef enum Conexus::StartStop | StartStop |
typedef enum Conexus::SocketState | SocketState |
typedef enum Conexus::PipeMode | PipeMode |
typedef enum Conexus::FileMode | FileMode |
typedef enum Conexus::QueueMode | QueueMode |
typedef enum Conexus::TOS | TOS |
typedef enum Conexus::SetOption | SetOption |
typedef enum Conexus::Parity | Parity |
typedef enum Conexus::ParityError | ParityError |
typedef enum Conexus::FlowControl | FlowControl |
typedef enum Conexus::ExceptionType | ExceptionType |
Enumerations |
enum | DataMode { COPY,
MANAGED,
UNMANAGED
} |
enum | ReadWrite {
READ_WRITE_NONE = 0,
READ = 1,
WRITE = 2,
READ_WRITE = 3,
READ_WRITE_UNCHANGED = 4,
READ_WRITE_LAST_STATE = READ_WRITE_UNCHANGED
} |
enum | EndpointState {
ENDPOINT_NOSTATE = 0,
ENDPOINT_CLOSED = 1<<0,
ENDPOINT_OPENED = 1<<1,
ENDPOINT_LAST_STATE = ENDPOINT_OPENED,
ENDPOINT_UNCHANGED = ~0
} |
enum | StartStop { STOP = 0,
START = 1
} |
enum | SocketState {
SOCKET_BOUND = ENDPOINT_LAST_STATE << 1,
SOCKET_CONNECTED = ENDPOINT_LAST_STATE << 2,
SOCKET_LISTENING = ENDPOINT_LAST_STATE << 3,
SOCKET_ACCEPTED = ENDPOINT_LAST_STATE << 4,
SOCKET_LAST_STATE = SOCKET_ACCEPTED
} |
enum | PipeMode { PIPE_READ = ENDPOINT_LAST_STATE<<1,
PIPE_WRITE = ENDPOINT_LAST_STATE<<2
} |
enum | FileMode {
FILE_READ = 1<<0,
FILE_WRITE = 1<<1,
FILE_APPEND = 1<<2,
FILE_CREATE = 1<<3,
FILE_DIRECT = 1<<4,
FILE_LARGE_FILE = 1<<5,
FILE_NO_ACCESS_TIME = 1<<6,
FILE_NO_FOLLOW = 1<<7,
FILE_TRUNCATE = 1<<8,
FILE_EXCLUSIVE_CREATE = 1<<9,
FILE_UNCHANGED = 1<<10,
FILE_LAST_STATE = FILE_UNCHANGED
} |
enum | QueueMode {
QUEUE_READ = 1<<0,
QUEUE_WRITE = 1<<1,
QUEUE_CREATE = 1<<2,
QUEUE_EXCLUSIVE_CREATE = 1<<3,
QUEUE_NONBLOCKING = 1<<4,
QUEUE_UNCHANGED = 1<<5
} |
enum | TOS { TOS_LOWDELAY = IPTOS_LOWDELAY,
TOS_THROUGHPUT = IPTOS_THROUGHPUT,
TOS_RELIABILITY = IPTOS_RELIABILITY,
TOS_LOWCOST = IPTOS_LOWCOST
} |
enum | SetOption { SET_NOW = TCSANOW,
SET_FLUSH = TCSAFLUSH,
SET_DRAIN = TCSADRAIN
} |
enum | Parity { PARITY_NONE,
PARITY_ODD,
PARITY_EVEN
} |
enum | ParityError { PARITY_ERROR_DISCARD,
PARITY_ERROR_MARK,
PARITY_ERROR_ZERO,
PARITY_ERROR_IGNORE
} |
enum | FlowControl { FLOW_NONE,
FLOW_HARDWARE,
FLOW_SOFTWARE,
FLOW_CUSTOM
} |
enum | ExceptionType {
EXCEPTION_ADDRESS,
EXCEPTION_OPEN,
EXCEPTION_BIND,
EXCEPTION_CLOSE,
EXCEPTION_CONNECT,
EXCEPTION_LISTEN,
EXCEPTION_READ,
EXCEPTION_SOCKET,
EXCEPTION_STATE,
EXCEPTION_WRITE
} |
Functions |
void | throw_exception (int exception_num, ExceptionType type) throw ( conexus_exception ) |
void | throw_open_exception (int exception_num) throw ( open_exception ) |
void | throw_close_exception (int exception_num) throw ( close_exception ) |
void | throw_read_exception (int exception_num) throw ( read_exception ) |
void | throw_write_exception (int exception_num) throw ( write_exception ) |
void | throw_bind_exception (int exception_num) throw ( bind_exception ) |
void | throw_connect_exception (int exception_num) throw ( connect_exception ) |
void | throw_listen_exception (int exception_num) throw ( listen_exception ) |
void | throw_address_exception (int exception_num) throw ( address_exception ) |
void | throw_socket_exception (int exception_num) throw ( socket_exception ) |
Factory::pointer | __default_factory (Factory::create()) |
Registry::pointer | __default_registry (Registry::create()) |
void | init (bool use_dispatcher_default=false, bool init_dbus=true) |
| The init method should be called before any conexus servers are started.
|
bool | initialized () |
bool | use_dispatcher_default () |
void | set_use_dispatcher_default (bool use_dispatcher_default) |
void | set_default_multicast_hop_limit (unsigned hop_limit) |
void | enable_default_multicast_loopback (bool enable) |
Factory & | default_factory () |
bool | set_default_factory (Factory::pointer new_factory) |
Registry & | default_registry () |
bool | set_default_registry (Registry::pointer new_registry) |
void | throw_ssl_exception () throw ( SSL::exception ) |
Variables |
bool | __use_dispatcher_default = false |
bool | __initialized = false |
Factory::pointer | __default_factory |
Registry::pointer | __default_registry |