Go to the source code of this file.
|
#define | UA_MAXCONTINUATIONPOINTS 5 |
|
#define | UA_LOG_SESSION_INTERNAL(LOGGER, LEVEL, SESSION, MSG, ...) |
|
#define | UA_LOG_TRACE_SESSION(LOGGER, SESSION, ...) UA_MACRO_EXPAND(UA_LOG_SESSION_INTERNAL(LOGGER, TRACE, SESSION, __VA_ARGS__, "")) |
|
#define | UA_LOG_DEBUG_SESSION(LOGGER, SESSION, ...) UA_MACRO_EXPAND(UA_LOG_SESSION_INTERNAL(LOGGER, DEBUG, SESSION, __VA_ARGS__, "")) |
|
#define | UA_LOG_INFO_SESSION(LOGGER, SESSION, ...) UA_MACRO_EXPAND(UA_LOG_SESSION_INTERNAL(LOGGER, INFO, SESSION, __VA_ARGS__, "")) |
|
#define | UA_LOG_WARNING_SESSION(LOGGER, SESSION, ...) UA_MACRO_EXPAND(UA_LOG_SESSION_INTERNAL(LOGGER, WARNING, SESSION, __VA_ARGS__, "")) |
|
#define | UA_LOG_ERROR_SESSION(LOGGER, SESSION, ...) UA_MACRO_EXPAND(UA_LOG_SESSION_INTERNAL(LOGGER, ERROR, SESSION, __VA_ARGS__, "")) |
|
#define | UA_LOG_FATAL_SESSION(LOGGER, SESSION, ...) UA_MACRO_EXPAND(UA_LOG_SESSION_INTERNAL(LOGGER, FATAL, SESSION, __VA_ARGS__, "")) |
|
◆ UA_MAXCONTINUATIONPOINTS
#define UA_MAXCONTINUATIONPOINTS 5 |
This Source Code Form is subject to the terms of the Mozilla Public License, v.
2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright 2018 (c) Fraunhofer IOSB (Author: Julius Pfrommer) Copyright 2019 (c) HMS Industrial Networks AB (Author: Jonas Green)
Definition at line 18 of file ua_session.h.
◆ UA_LOG_SESSION_INTERNAL
#define UA_LOG_SESSION_INTERNAL |
( |
| LOGGER, |
|
|
| LEVEL, |
|
|
| SESSION, |
|
|
| MSG, |
|
|
| ... ) |
Value: do { \
int nameLen = (SESSION) ? (int)(SESSION)->sessionName.length : 0; \
const char *nameStr = (SESSION) ? \
(const char*)(SESSION)->sessionName.data : NULL; \
UA_UInt32 chanId = ((SESSION) && (SESSION)->header.channel) ? \
(SESSION)->header.channel->securityToken.channelId : 0; \
"SecureChannel %" PRIu32 " | Session \"%.*s\" | " MSG "%.0s", \
chanId, nameLen, nameStr, __VA_ARGS__); \
} while(0)
Definition at line 123 of file ua_session.h.
◆ UA_LOG_TRACE_SESSION
◆ UA_LOG_DEBUG_SESSION
◆ UA_LOG_INFO_SESSION
◆ UA_LOG_WARNING_SESSION
◆ UA_LOG_ERROR_SESSION
◆ UA_LOG_FATAL_SESSION
◆ ContinuationPoint
◆ UA_Subscription
typedef struct UA_Subscription UA_Subscription |
◆ UA_PublishResponseEntry
typedef struct UA_PublishResponseEntry UA_PublishResponseEntry |
◆ ContinuationPoint_clear()
Returns the next entry in the linked list.
◆ UA_Session_init()
◆ UA_Session_clear()
◆ UA_Session_attachToSecureChannel()
◆ UA_Session_detachFromSecureChannel()
void UA_Session_detachFromSecureChannel |
( |
UA_Session * | session | ) |
|
◆ UA_Session_generateNonce()
◆ UA_Session_updateLifetime()
void UA_Session_updateLifetime |
( |
UA_Session * | session | ) |
|
If any activity on a session happens, the timeout is extended.
◆ UA_Session_attachSubscription()
◆ UA_Session_detachSubscription()
If releasePublishResponses is true and the last subscription is removed, all outstanding PublishResponse are sent with a StatusCode.
But we don't do that if a Subscription is only detached for modification.
◆ UA_Session_getSubscriptionById()
◆ UA_Session_queuePublishReq()
◆ UA_Session_dequeuePublishReq()