Intra2net AG

libt2n Namespace Reference

Namespaces

namespace  detail

Classes

class  client_connection
 a (generic) connection from client to server. Abstract. More...
class  ConnectionWrapper
 provide access to client_connection singletons and call-handling function More...
class  T2nSingletonWrapperMessages
class  T2nSingletonWrapper
 wrap calls to server-side-functions with different error-handling strategies More...
class  result
 base class for the results that are returned from commands. More...
class  command
 a command that can be serialized. abstract. More...
class  command_client
 a client sending out commands to a server More...
class  command_server
 a server handling incoming commands More...
struct  Derived_from
class  group_command_server
 server handling group of incoming commands More...
class  connection
 a connection between client and server. abstact. More...
class  result_container
 contains the result (return value as libt2n::result or an libt2n::t2n_exception) of a executed command More...
class  command_container
 contains a libt2n::command More...
class  server_connection
 connection on a server More...
class  server
 server base class More...
class  socket_client_connection
 a connection from client to server using sockets. More...
class  socket_handler
 handles socket based communication. Don't use directly, use socket_server or socket_client_connection instead. More...
class  socket_server
 Socket based server class. More...
class  socket_server_connection
 Socket based connection. More...
class  BasicSocketWrapper
 a basic implementation of ConnectionWrapper More...
class  ReconnectSocketWrapper
 a wrapper implementing reconnect-then-throw More...
class  dummy_client_connection
 a placeholder-client_connection which is closed all the time More...
class  ReconnectIgnoreFailureSocketWrapper
 a wrapper implementing reconnect-then-ignore More...
class  t2n_exception
 a generic exception that can be handeled with libt2n More...
class  t2n_communication_error
 a (unspecified) problem with libt2n communication More...
class  t2n_connect_error
 can't connect to libt2n server More...
class  t2n_server_error
 error establishing a socket on the server (only thrown on the server-side) More...
class  t2n_transfer_error
 error transmitting or receiving libt2n messages More...
class  t2n_version_mismatch
 tried to talk to an incompatible libt2n version More...
class  t2n_command_error
 illegal libt2n command received More...
class  t2n_serialization_error
 error serializing or deserializing a libt2n command packet More...
class  t2n_runtime_error
 a runtime error within the remote function. derive your own custom exceptions from this one More...

Enumerations

enum  log_level_values { none = 0, error = 1, debug = 2, fulldebug = 3 }
 

possible levels for logging

More...
enum  socket_type_value { tcp_s, unix_s }
 

possible types of a socket (tcp and unix)

More...
enum  callback_event_type { new_connection = 0, connection_closed, connection_deleted, __events_end }

Enumeration Type Documentation

possible events for callback, __events_end must be the last event and must not be used for anything else than marking the end

Enumerator:
new_connection 
connection_closed 
connection_deleted 
__events_end 

possible levels for logging

Enumerator:
none 
error 
debug 
fulldebug 

possible types of a socket (tcp and unix)

Enumerator:
tcp_s 
unix_s 

Generated on 13 May 2015 by  doxygen 1.6.1
© Intra2net AG 2024 | Legal | Contact