14 namespace HCE\transport {
19 defined ( __NAMESPACE__ .
'\HANDLER_ADMIN' ) or define ( __NAMESPACE__ . '\HANDLER_ADMIN', 'Admin' );
20 defined ( __NAMESPACE__ . '\HANDLER_ROUTERSERVER_PROXY' ) or define ( __NAMESPACE__ . '\HANDLER_ROUTERSERVER_PROXY', 'RouterServerProxy' );
21 defined ( __NAMESPACE__ . '\HANDLER_DATASERVER_PROXY' ) or define ( __NAMESPACE__ . '\HANDLER_DATASERVER_PROXY', 'DataServerProxy' );
22 defined ( __NAMESPACE__ . '\HANDLER_DATA_CLIENT_PROXY' ) or define ( __NAMESPACE__ . '\HANDLER_DATA_CLIENT_PROXY', 'DataClientProxy' );
23 defined ( __NAMESPACE__ . '\HANDLER_DATAPROCESSOR_DATA' ) or define ( __NAMESPACE__ . '\HANDLER_DATAPROCESSOR_DATA', 'DataProcessorData' );
24 defined ( __NAMESPACE__ . '\HANDLER_DATACLIENT_DATA' ) or define ( __NAMESPACE__ . '\HANDLER_DATACLIENT_DATA', 'DataClientData' );
25 defined ( __NAMESPACE__ . '\HANDLER_DATA_REDUCER_PROXY' ) or define ( __NAMESPACE__ . '\HANDLER_DATA_REDUCER_PROXY', 'DataReducerProxy' );
30 defined ( __NAMESPACE__ . '\PROTOCOL_ERROR_OK' ) or define ( __NAMESPACE__ . '\PROTOCOL_ERROR_OK', 0 );
31 defined ( __NAMESPACE__ . '\PROTOCOL_ERROR_CONNECTION_PARAMS' ) or define ( __NAMESPACE__ . '\PROTOCOL_ERROR_CONNECTION_PARAMS', - 1 );
32 defined ( __NAMESPACE__ . '\PROTOCOL_ERROR_CONTEXT_CREATE' ) or define ( __NAMESPACE__ . '\PROTOCOL_ERROR_CONTEXT_CREATE', - 2 );
33 defined ( __NAMESPACE__ . '\PROTOCOL_ERROR_SOCKET_CREATE' ) or define ( __NAMESPACE__ . '\PROTOCOL_ERROR_SOCKET_CREATE', - 3 );
34 defined ( __NAMESPACE__ . '\PROTOCOL_ERROR_TIMEOUT' ) or define ( __NAMESPACE__ . '\PROTOCOL_ERROR_TIMEOUT', - 5 );
35 defined ( __NAMESPACE__ . '\PROTOCOL_ERROR_WRONG_RESPONSE_MSG_ID' ) or define ( __NAMESPACE__ . '\PROTOCOL_ERROR_WRONG_RESPONSE_MSG_ID', - 6 );
40 defined ( __NAMESPACE__ . '\PROTOCOL_ADMIN_DEFAULT' ) or define ( __NAMESPACE__ . '\PROTOCOL_ADMIN_DEFAULT', 'tcp' );
45 defined ( __NAMESPACE__ . '\PROTOCOL_HOST_DEFAULT' ) or define ( __NAMESPACE__ . '\PROTOCOL_HOST_DEFAULT', 'localhost' );
50 defined ( __NAMESPACE__ . '\PROTOCOL_PORT_ADMIN_DEFAULT' ) or define ( __NAMESPACE__ . '\PROTOCOL_PORT_ADMIN_DEFAULT', 5546 );
55 defined ( __NAMESPACE__ . '\PROTOCOL_PORT_ROUTER_DEFAULT' ) or define ( __NAMESPACE__ . '\PROTOCOL_PORT_ROUTER_DEFAULT', 5556 );
60 defined ( __NAMESPACE__ . '\PROTOCOL_CLIENT_IDENTITY_PREFIX' ) or define ( __NAMESPACE__ . '\PROTOCOL_CLIENT_IDENTITY_PREFIX', 'HCE-CLU-' );
65 defined ( __NAMESPACE__ . '\PROTOCOL_MSG_ID_PREFIX' ) or define ( __NAMESPACE__ . '\PROTOCOL_MSG_ID_PREFIX', 'ID-' );
70 defined ( __NAMESPACE__ . '\PROTOCOL_MSG_RESPONSE_TIMEOUT_DEFAULT' ) or define ( __NAMESPACE__ . '\PROTOCOL_MSG_RESPONSE_TIMEOUT_DEFAULT', 1500 );
75 defined ( __NAMESPACE__ . '\PROTOCOL_CONNECTION_TYPE_ADMIN' ) or define ( __NAMESPACE__ . '\PROTOCOL_CONNECTION_TYPE_ADMIN', 0 );
76 defined ( __NAMESPACE__ . '\PROTOCOL_CONNECTION_TYPE_ROUTER' ) or define ( __NAMESPACE__ . '\PROTOCOL_CONNECTION_TYPE_ROUTER', 1 );