nn::http::NN_DEFINE_RESULT_CONST_LM Function

Syntax

NN_DEFINE_RESULT_CONST_LM(
     ResultInvalidStatusErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_INVALID_STATUS
);

NN_DEFINE_RESULT_CONST_LM(
     ResultInvalidParamErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_ARGUMENT,
     ER_INVALID_PARAM
);

NN_DEFINE_RESULT_CONST_LM(
     ResultOutOfMemoryErr,
     detail::MakePermanentResult,
     Result::SUMMARY_OUT_OF_RESOURCE,
     ER_NOMEM
);

NN_DEFINE_RESULT_CONST_LM(
     ResultCreateEventErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_CREATE_EVENT
);

NN_DEFINE_RESULT_CONST_LM(
     ResultCreateMutexErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_CREATE_MUTEX
);

NN_DEFINE_RESULT_CONST_LM(
     ResultCreateQueueErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_CREATE_QUEUE
);

NN_DEFINE_RESULT_CONST_LM(
     ResultCreateThreadErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_CREATE_THREAD
);

NN_DEFINE_RESULT_CONST_LM(
     ResultNotConnectedErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_CONNECTION_NOT_INITIALIZED
);

NN_DEFINE_RESULT_CONST_LM(
     ResultAlreadyAssignHostErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_ALREADY_ASSIGN_HOST
);

NN_DEFINE_RESULT_CONST_LM(
     ResultSessionErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_SESSION
);

NN_DEFINE_RESULT_CONST_LM(
     ResultClientProcessMaxErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_CLIENT_PROCESS_MAX
);

NN_DEFINE_RESULT_CONST_LM(
     ResultIpcSessionMaxErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_IPC_SESSION_MAX
);

NN_DEFINE_RESULT_CONST_LM(
     ResultAlreadyInitializedErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_ALREADY_INITIALIZED
);

NN_DEFINE_RESULT_CONST_LM(
     ResultNotInitializedErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_NOT_INITIALIZED
);

NN_DEFINE_RESULT_CONST_LM(
     ResultMessageSendToListenThreadErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_MSGQ_SEND_LSN
);

NN_DEFINE_RESULT_CONST_LM(
     ResultMessageRecvInListenThreadErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_MSGQ_RECV_LSN
);

NN_DEFINE_RESULT_CONST_LM(
     ResultMessageRecvInCommunicationThreadErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_MSGQ_RECV_COMM
);

NN_DEFINE_RESULT_CONST_LM(
     ResultConnectionNoMoreErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_CONN_NOMORE
);

NN_DEFINE_RESULT_CONST_LM(
     ResultNoSuchConnectionErr,
     detail::MakePermanentResult,
     Result::SUMMARY_NOT_FOUND,
     ER_CONN_NOSUCH
);

NN_DEFINE_RESULT_CONST_LM(
     ResultConnectionStatusErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_CONN_STATUS
);

NN_DEFINE_RESULT_CONST_LM(
     ResultConnectionAddErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_CONN_ADD
);

NN_DEFINE_RESULT_CONST_LM(
     ResultConnectionCanceledErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_CONN_CANCELED
);

NN_DEFINE_RESULT_CONST_LM(
     ResultConnectionHostMaxErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_CONN_HOST_MAX
);

NN_DEFINE_RESULT_CONST_LM(
     ResultConnectionProcessMaxErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_CONN_PROCESS_MAX
);

NN_DEFINE_RESULT_CONST_LM(
     ResultRequestUrlErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_REQ_URL
);

NN_DEFINE_RESULT_CONST_LM(
     ResultRequestPortErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_REQ_CONNMSG_PORT
);

NN_DEFINE_RESULT_CONST_LM(
     ResultRequestUnknownMethodErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_REQ_UNKNOWN_METHOD
);

NN_DEFINE_RESULT_CONST_LM(
     ResultRequestHeaderErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_RES_HEADER
);

NN_DEFINE_RESULT_CONST_LM(
     ResultRequestNoNewLineErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_RES_NONEWLINE
);

NN_DEFINE_RESULT_CONST_LM(
     ResultBodyBufErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_RES_BODYBUF
);

NN_DEFINE_RESULT_CONST_LM(
     ResultBodyBufShortage,
     detail::MakePermanentResult,
     Result::SUMMARY_WOULD_BLOCK,
     ER_RES_BODYBUF_SHORTAGE
);

NN_DEFINE_RESULT_CONST_LM(
     ResultPostAddedAnotherErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_POST_ADDED_ANOTHER
);

NN_DEFINE_RESULT_CONST_LM(
     ResultPostBoundaryErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_POST_BOUNDARY
);

NN_DEFINE_RESULT_CONST_LM(
     ResultPostSendErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_POST_SEND
);

NN_DEFINE_RESULT_CONST_LM(
     ResultPostUnknownEnctypeErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_POST_UNKNOWN_ENCTYPE
);

NN_DEFINE_RESULT_CONST_LM(
     ResultPostNoDataErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_POST_NODATA
);

NN_DEFINE_RESULT_CONST_LM(
     ResultSslErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_SSL
);

NN_DEFINE_RESULT_CONST_LM(
     ResultCertExistErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_SSL_CERT_EXIST
);

NN_DEFINE_RESULT_CONST_LM(
     ResultNoCaCertStoreErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_SSL_NO_CA_CERT_STORE
);

NN_DEFINE_RESULT_CONST_LM(
     ResultNoClientCertErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_SSL_NO_CLIENT_CERT
);

NN_DEFINE_RESULT_CONST_LM(
     ResultCaCertStoreMaxErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_SSL_CA_CERT_STORE_MAX
);

NN_DEFINE_RESULT_CONST_LM(
     ResultClientCertMaxErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_SSL_CLIENT_CERT_MAX
);

NN_DEFINE_RESULT_CONST_LM(
     ResultFailToCreateCertStoreErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_SSL_FAIL_TO_CREATE_CERT_STORE
);

NN_DEFINE_RESULT_CONST_LM(
     ResultFailToCreateClientCertErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_SSL_FAIL_TO_CREATE_CLIENT_CERT
);

NN_DEFINE_RESULT_CONST_LM(
     ResultDnsResolutionErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_SOC_DNS
);

NN_DEFINE_RESULT_CONST_LM(
     ResultSocketSendErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_SOC_SEND
);

NN_DEFINE_RESULT_CONST_LM(
     ResultSocketReceiveErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_SOC_RECV
);

NN_DEFINE_RESULT_CONST_LM(
     ResultSocketConnectErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_SOC_CONN
);

NN_DEFINE_RESULT_CONST_LM(
     ResultGetProxySettingErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INVALID_STATE,
     ER_GET_PROXY_SETTING
);

NN_DEFINE_RESULT_CONST_LM(
     ResultNotImplementedErr,
     detail::MakePermanentResult,
     Result::SUMMARY_INTERNAL,
     nn::Result::DESCRIPTION_NOT_IMPLEMENTED
);

NN_DEFINE_RESULT_CONST_LM(
     ResultTimeout,
     detail::MakePermanentResult,
     Result::SUMMARY_NOTHING_HAPPENED,
     ER_TIMEOUT
);

List of Overloaded Member Functions

NN_DEFINE_RESULT_CONST_LM(ResultInvalidStatusErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_INVALID_STATUS) Returns a Result indicating the following error: Invalid status.
NN_DEFINE_RESULT_CONST_LM(ResultInvalidParamErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_ARGUMENT, ER_INVALID_PARAM) Returns a Result indicating the following error: Invalid parameter.
NN_DEFINE_RESULT_CONST_LM(ResultOutOfMemoryErr, detail::MakePermanentResult, Result::SUMMARY_OUT_OF_RESOURCE, ER_NOMEM) Returns a Result indicating the following error: Dynamic memory allocation failure.
NN_DEFINE_RESULT_CONST_LM(ResultCreateEventErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CREATE_EVENT) Returns a Result indicating the following error: Event generation failure.
NN_DEFINE_RESULT_CONST_LM(ResultCreateMutexErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CREATE_MUTEX) Returns a Result indicating the following error: Mutex creation failure.
NN_DEFINE_RESULT_CONST_LM(ResultCreateQueueErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CREATE_QUEUE) Returns a Result indicating the following error: Message queue creation failure.
NN_DEFINE_RESULT_CONST_LM(ResultCreateThreadErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CREATE_THREAD) Returns a Result indicating the following error: Thread creation failure.
NN_DEFINE_RESULT_CONST_LM(ResultNotConnectedErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CONNECTION_NOT_INITIALIZED) Returns a Result indicating the following error: Uninitialized connection.
NN_DEFINE_RESULT_CONST_LM(ResultAlreadyAssignHostErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_ALREADY_ASSIGN_HOST) Returns a Result indicating the following error: Communication target host already allocated.
NN_DEFINE_RESULT_CONST_LM(ResultSessionErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SESSION) Returns a Result indicating the following error: IPC session invalid.
NN_DEFINE_RESULT_CONST_LM(ResultClientProcessMaxErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CLIENT_PROCESS_MAX) Returns a Result indicating the following error: The maximum number of simultaneous client processes is already being used.
NN_DEFINE_RESULT_CONST_LM(ResultIpcSessionMaxErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_IPC_SESSION_MAX) Returns a Result indicating the following error: Maximum number of simultaneous IPC session connections already connected.
NN_DEFINE_RESULT_CONST_LM(ResultAlreadyInitializedErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_ALREADY_INITIALIZED) Returns a Result indicating the following error: Library already initialized.
NN_DEFINE_RESULT_CONST_LM(ResultNotInitializedErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_NOT_INITIALIZED) Returns a Result indicating the following error: Library not yet initialized.
NN_DEFINE_RESULT_CONST_LM(ResultMessageSendToListenThreadErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_MSGQ_SEND_LSN) Returns a Result indicating the following error: Failure sending to listener thread message queue.
NN_DEFINE_RESULT_CONST_LM(ResultMessageRecvInListenThreadErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_MSGQ_RECV_LSN) Returns a Result indicating the following error: Failure receiving from listener thread message queue.
NN_DEFINE_RESULT_CONST_LM(ResultMessageRecvInCommunicationThreadErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_MSGQ_RECV_COMM) Returns a Result indicating the following error: Failure receiving from communication thread message queue.
NN_DEFINE_RESULT_CONST_LM(ResultConnectionNoMoreErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CONN_NOMORE) Returns a Result indicating the following error: Maximum number of connection handles exceeded.
NN_DEFINE_RESULT_CONST_LM(ResultNoSuchConnectionErr, detail::MakePermanentResult, Result::SUMMARY_NOT_FOUND, ER_CONN_NOSUCH) Returns a Result indicating the following error: Request for an operation on a nonexistent connection.
NN_DEFINE_RESULT_CONST_LM(ResultConnectionStatusErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CONN_STATUS) Returns a Result indicating the following error: Invalid connection status. (For example, this Result might be returned if the functions in the API were called in an improper order.)
NN_DEFINE_RESULT_CONST_LM(ResultConnectionAddErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CONN_ADD) Returns a Result indicating the following error: Failed to register connection.
NN_DEFINE_RESULT_CONST_LM(ResultConnectionCanceledErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CONN_CANCELED) Returns a Result indicating the following error: Canceled connection.
NN_DEFINE_RESULT_CONST_LM(ResultConnectionHostMaxErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CONN_HOST_MAX) Returns a Result indicating the following error: Maximum number of connections to same host exceeded.
NN_DEFINE_RESULT_CONST_LM(ResultConnectionProcessMaxErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CONN_PROCESS_MAX) Returns a Result indicating the following error: Maximum number of connections used by one process exceeded.
NN_DEFINE_RESULT_CONST_LM(ResultRequestUrlErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_REQ_URL) Returns a Result indicating the following error: Invalid URL.
NN_DEFINE_RESULT_CONST_LM(ResultRequestPortErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_REQ_CONNMSG_PORT) Returns a Result indicating the following error: Invalid communication target port number.
NN_DEFINE_RESULT_CONST_LM(ResultRequestUnknownMethodErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_REQ_UNKNOWN_METHOD) Returns a Result indicating the following error: Unknown method.
NN_DEFINE_RESULT_CONST_LM(ResultRequestHeaderErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_RES_HEADER) Returns a Result indicating the following error: Invalid HTTP header.
NN_DEFINE_RESULT_CONST_LM(ResultRequestNoNewLineErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_RES_NONEWLINE) Returns a Result indicating the following error: No newline in HTTP header.
NN_DEFINE_RESULT_CONST_LM(ResultBodyBufErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_RES_BODYBUF) Returns a Result indicating the following error: HTTP body receive buffer error.
NN_DEFINE_RESULT_CONST_LM(ResultBodyBufShortage, detail::MakePermanentResult, Result::SUMMARY_WOULD_BLOCK, ER_RES_BODYBUF_SHORTAGE) Returns a Result indicating the following error: Insufficient HTTP Body receive buffer.
NN_DEFINE_RESULT_CONST_LM(ResultPostAddedAnotherErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_POST_ADDED_ANOTHER) Returns a Result indicating the following error: Failed to add POST data.
NN_DEFINE_RESULT_CONST_LM(ResultPostBoundaryErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_POST_BOUNDARY) Returns a Result indicating the following error: Boundary of POST data cannot be properly set.
NN_DEFINE_RESULT_CONST_LM(ResultPostSendErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_POST_SEND) Returns a Result indicating the following error: POST request send failure.
NN_DEFINE_RESULT_CONST_LM(ResultPostUnknownEnctypeErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_POST_UNKNOWN_ENCTYPE) Returns a Result indicating the following error: Unknown encoding type for POST.
NN_DEFINE_RESULT_CONST_LM(ResultPostNoDataErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_POST_NODATA) Returns a Result indicating the following error: No settings have been configured for sending POST data.
NN_DEFINE_RESULT_CONST_LM(ResultSslErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SSL) Returns a Result indicating the following error: SSL error.
NN_DEFINE_RESULT_CONST_LM(ResultCertExistErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SSL_CERT_EXIST) Returns a Result indicating the following error: SSL certificate already set (must be deleted before re-registering).
NN_DEFINE_RESULT_CONST_LM(ResultNoCaCertStoreErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SSL_NO_CA_CERT_STORE) Returns a Result indicating the following error: No such SSL CA certificate store registered.
NN_DEFINE_RESULT_CONST_LM(ResultNoClientCertErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SSL_NO_CLIENT_CERT) Returns a Result indicating the following error: No such SSL client certificate registered.
NN_DEFINE_RESULT_CONST_LM(ResultCaCertStoreMaxErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SSL_CA_CERT_STORE_MAX) Returns a Result indicating the following error: The maximum number of CA certificate stores that can be registered for a single SSL process have already been registered.
NN_DEFINE_RESULT_CONST_LM(ResultClientCertMaxErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SSL_CLIENT_CERT_MAX) Returns a Result indicating the following error: Maximum number of client certificates that can be registered simultaneously for a single SSL process have already registered.
NN_DEFINE_RESULT_CONST_LM(ResultFailToCreateCertStoreErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SSL_FAIL_TO_CREATE_CERT_STORE) Returns a Result indicating the following error: Failed to create the SSL certificate store.
NN_DEFINE_RESULT_CONST_LM(ResultFailToCreateClientCertErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SSL_FAIL_TO_CREATE_CLIENT_CERT) Returns a Result indicating the following error: Failed to create SSL client certificate.
NN_DEFINE_RESULT_CONST_LM(ResultDnsResolutionErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SOC_DNS) Returns a Result indicating the following error: DNS name resolution failure.
NN_DEFINE_RESULT_CONST_LM(ResultSocketSendErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SOC_SEND) Returns a Result indicating the following error: Socket data send failure.
NN_DEFINE_RESULT_CONST_LM(ResultSocketReceiveErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SOC_RECV) Returns a Result indicating the following error: Socket data receive failure.
NN_DEFINE_RESULT_CONST_LM(ResultSocketConnectErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SOC_CONN) Returns a Result indicating the following error: Socket connection failure.
NN_DEFINE_RESULT_CONST_LM(ResultGetProxySettingErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_GET_PROXY_SETTING) Returns a Result indicating the following error: Failed to get proxy value set by device.
NN_DEFINE_RESULT_CONST_LM(ResultNotImplementedErr, detail::MakePermanentResult, Result::SUMMARY_INTERNAL, nn::Result::DESCRIPTION_NOT_IMPLEMENTED) Returns a Result indicating the following error: Process not yet implemented. This is an internal implementation error.
NN_DEFINE_RESULT_CONST_LM(ResultTimeout, detail::MakePermanentResult, Result::SUMMARY_NOTHING_HAPPENED, ER_TIMEOUT) Returns a Result indicating a timeout.

Description of NN_DEFINE_RESULT_CONST_LM(ResultInvalidStatusErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_INVALID_STATUS)

Returns a Result indicating the following error: Invalid status.

Description of NN_DEFINE_RESULT_CONST_LM(ResultInvalidParamErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_ARGUMENT, ER_INVALID_PARAM)

Returns a Result indicating the following error: Invalid parameter.

Description of NN_DEFINE_RESULT_CONST_LM(ResultOutOfMemoryErr, detail::MakePermanentResult, Result::SUMMARY_OUT_OF_RESOURCE, ER_NOMEM)

Returns a Result indicating the following error: Dynamic memory allocation failure.

Description of NN_DEFINE_RESULT_CONST_LM(ResultCreateEventErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CREATE_EVENT)

Returns a Result indicating the following error: Event generation failure.

Description of NN_DEFINE_RESULT_CONST_LM(ResultCreateMutexErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CREATE_MUTEX)

Returns a Result indicating the following error: Mutex creation failure.

Description of NN_DEFINE_RESULT_CONST_LM(ResultCreateQueueErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CREATE_QUEUE)

Returns a Result indicating the following error: Message queue creation failure.

Description of NN_DEFINE_RESULT_CONST_LM(ResultCreateThreadErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CREATE_THREAD)

Returns a Result indicating the following error: Thread creation failure.

Description of NN_DEFINE_RESULT_CONST_LM(ResultNotConnectedErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CONNECTION_NOT_INITIALIZED)

Returns a Result indicating the following error: Uninitialized connection.

Description of NN_DEFINE_RESULT_CONST_LM(ResultAlreadyAssignHostErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_ALREADY_ASSIGN_HOST)

Returns a Result indicating the following error: Communication target host already allocated.

Description of NN_DEFINE_RESULT_CONST_LM(ResultSessionErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SESSION)

Returns a Result indicating the following error: IPC session invalid.

Description of NN_DEFINE_RESULT_CONST_LM(ResultClientProcessMaxErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CLIENT_PROCESS_MAX)

Returns a Result indicating the following error: The maximum number of simultaneous client processes is already being used.

Description of NN_DEFINE_RESULT_CONST_LM(ResultIpcSessionMaxErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_IPC_SESSION_MAX)

Returns a Result indicating the following error: Maximum number of simultaneous IPC session connections already connected.

Description of NN_DEFINE_RESULT_CONST_LM(ResultAlreadyInitializedErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_ALREADY_INITIALIZED)

Returns a Result indicating the following error: Library already initialized.

Description of NN_DEFINE_RESULT_CONST_LM(ResultNotInitializedErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_NOT_INITIALIZED)

Returns a Result indicating the following error: Library not yet initialized.

Description of NN_DEFINE_RESULT_CONST_LM(ResultMessageSendToListenThreadErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_MSGQ_SEND_LSN)

Returns a Result indicating the following error: Failure sending to listener thread message queue.

Description of NN_DEFINE_RESULT_CONST_LM(ResultMessageRecvInListenThreadErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_MSGQ_RECV_LSN)

Returns a Result indicating the following error: Failure receiving from listener thread message queue.

Description of NN_DEFINE_RESULT_CONST_LM(ResultMessageRecvInCommunicationThreadErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_MSGQ_RECV_COMM)

Returns a Result indicating the following error: Failure receiving from communication thread message queue.

Description of NN_DEFINE_RESULT_CONST_LM(ResultConnectionNoMoreErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CONN_NOMORE)

Returns a Result indicating the following error: Maximum number of connection handles exceeded.

Description of NN_DEFINE_RESULT_CONST_LM(ResultNoSuchConnectionErr, detail::MakePermanentResult, Result::SUMMARY_NOT_FOUND, ER_CONN_NOSUCH)

Returns a Result indicating the following error: Request for an operation on a nonexistent connection.

Description of NN_DEFINE_RESULT_CONST_LM(ResultConnectionStatusErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CONN_STATUS)

Returns a Result indicating the following error: Invalid connection status. (For example, this Result might be returned if the functions in the API were called in an improper order.)

Description of NN_DEFINE_RESULT_CONST_LM(ResultConnectionAddErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CONN_ADD)

Returns a Result indicating the following error: Failed to register connection.

Description of NN_DEFINE_RESULT_CONST_LM(ResultConnectionCanceledErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CONN_CANCELED)

Returns a Result indicating the following error: Canceled connection.

Description of NN_DEFINE_RESULT_CONST_LM(ResultConnectionHostMaxErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CONN_HOST_MAX)

Returns a Result indicating the following error: Maximum number of connections to same host exceeded.

Description of NN_DEFINE_RESULT_CONST_LM(ResultConnectionProcessMaxErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CONN_PROCESS_MAX)

Returns a Result indicating the following error: Maximum number of connections used by one process exceeded.

Description of NN_DEFINE_RESULT_CONST_LM(ResultRequestUrlErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_REQ_URL)

Returns a Result indicating the following error: Invalid URL.

Description of NN_DEFINE_RESULT_CONST_LM(ResultRequestPortErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_REQ_CONNMSG_PORT)

Returns a Result indicating the following error: Invalid communication target port number.

Description of NN_DEFINE_RESULT_CONST_LM(ResultRequestUnknownMethodErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_REQ_UNKNOWN_METHOD)

Returns a Result indicating the following error: Unknown method.

Description of NN_DEFINE_RESULT_CONST_LM(ResultRequestHeaderErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_RES_HEADER)

Returns a Result indicating the following error: Invalid HTTP header.

Description of NN_DEFINE_RESULT_CONST_LM(ResultRequestNoNewLineErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_RES_NONEWLINE)

Returns a Result indicating the following error: No newline in HTTP header.

Description of NN_DEFINE_RESULT_CONST_LM(ResultBodyBufErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_RES_BODYBUF)

Returns a Result indicating the following error: HTTP body receive buffer error.

Description of NN_DEFINE_RESULT_CONST_LM(ResultBodyBufShortage, detail::MakePermanentResult, Result::SUMMARY_WOULD_BLOCK, ER_RES_BODYBUF_SHORTAGE)

Returns a Result indicating the following error: Insufficient HTTP Body receive buffer.

Description of NN_DEFINE_RESULT_CONST_LM(ResultPostAddedAnotherErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_POST_ADDED_ANOTHER)

Returns a Result indicating the following error: Failed to add POST data.

Description of NN_DEFINE_RESULT_CONST_LM(ResultPostBoundaryErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_POST_BOUNDARY)

Returns a Result indicating the following error: Boundary of POST data cannot be properly set.

Description of NN_DEFINE_RESULT_CONST_LM(ResultPostSendErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_POST_SEND)

Returns a Result indicating the following error: POST request send failure.

Description of NN_DEFINE_RESULT_CONST_LM(ResultPostUnknownEnctypeErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_POST_UNKNOWN_ENCTYPE)

Returns a Result indicating the following error: Unknown encoding type for POST.

Description of NN_DEFINE_RESULT_CONST_LM(ResultPostNoDataErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_POST_NODATA)

Returns a Result indicating the following error: No settings have been configured for sending POST data.

Description of NN_DEFINE_RESULT_CONST_LM(ResultSslErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SSL)

Returns a Result indicating the following error: SSL error.

Description of NN_DEFINE_RESULT_CONST_LM(ResultCertExistErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SSL_CERT_EXIST)

Returns a Result indicating the following error: SSL certificate already set (must be deleted before re-registering).

Description of NN_DEFINE_RESULT_CONST_LM(ResultNoCaCertStoreErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SSL_NO_CA_CERT_STORE)

Returns a Result indicating the following error: No such SSL CA certificate store registered.

Description of NN_DEFINE_RESULT_CONST_LM(ResultNoClientCertErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SSL_NO_CLIENT_CERT)

Returns a Result indicating the following error: No such SSL client certificate registered.

Description of NN_DEFINE_RESULT_CONST_LM(ResultCaCertStoreMaxErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SSL_CA_CERT_STORE_MAX)

Returns a Result indicating the following error: The maximum number of CA certificate stores that can be registered for a single SSL process have already been registered.

Description of NN_DEFINE_RESULT_CONST_LM(ResultClientCertMaxErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SSL_CLIENT_CERT_MAX)

Returns a Result indicating the following error: Maximum number of client certificates that can be registered simultaneously for a single SSL process have already registered.

Description of NN_DEFINE_RESULT_CONST_LM(ResultFailToCreateCertStoreErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SSL_FAIL_TO_CREATE_CERT_STORE)

Returns a Result indicating the following error: Failed to create the SSL certificate store.

Description of NN_DEFINE_RESULT_CONST_LM(ResultFailToCreateClientCertErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SSL_FAIL_TO_CREATE_CLIENT_CERT)

Returns a Result indicating the following error: Failed to create SSL client certificate.

Description of NN_DEFINE_RESULT_CONST_LM(ResultDnsResolutionErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SOC_DNS)

Returns a Result indicating the following error: DNS name resolution failure.

Description of NN_DEFINE_RESULT_CONST_LM(ResultSocketSendErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SOC_SEND)

Returns a Result indicating the following error: Socket data send failure.

Description of NN_DEFINE_RESULT_CONST_LM(ResultSocketReceiveErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SOC_RECV)

Returns a Result indicating the following error: Socket data receive failure.

Description of NN_DEFINE_RESULT_CONST_LM(ResultSocketConnectErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_SOC_CONN)

Returns a Result indicating the following error: Socket connection failure.

Description of NN_DEFINE_RESULT_CONST_LM(ResultGetProxySettingErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_GET_PROXY_SETTING)

Returns a Result indicating the following error: Failed to get proxy value set by device.

Description of NN_DEFINE_RESULT_CONST_LM(ResultNotImplementedErr, detail::MakePermanentResult, Result::SUMMARY_INTERNAL, nn::Result::DESCRIPTION_NOT_IMPLEMENTED)

Returns a Result indicating the following error: Process not yet implemented. This is an internal implementation error.

Description of NN_DEFINE_RESULT_CONST_LM(ResultTimeout, detail::MakePermanentResult, Result::SUMMARY_NOTHING_HAPPENED, ER_TIMEOUT)

Returns a Result indicating a timeout.


CONFIDENTIAL