ua_stack_channel_manager.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * ua_stack_channel_manager.h
  3. *
  4. * Created on: 09.05.2014
  5. * Author: root
  6. */
  7. #ifndef UA_STACK_CHANNEL_MANAGER_H_
  8. #define UA_STACK_CHANNEL_MANAGER_H_
  9. #include "ua_stack_channel.h"
  10. UA_Int32 SL_ChannelManager_init(UA_UInt32 maxChannelCount,UA_UInt32 tokenLifetime, UA_UInt32 startChannelId, UA_UInt32 startTokenId, UA_String *endpointUrl);
  11. UA_Int32 SL_ChannelManager_addChannel(SL_Channel *channel);
  12. //UA_Int32 SL_ChannelManager_renewChannelToken(UA_Int32 channelId, UA_DateTime requestedLifeTime);
  13. //UA_Int32 SL_ChannelManager_createChannelToken(SL_secureChannel channel);
  14. //UA_Int32 SL_ChannelManager_renewChannelToken(SL_secureChannel channel);
  15. //UA_Int32 SL_ChannelManager_bindChannel(UA_Int32 channelId, TL_Connection *connection);
  16. UA_Int32 SL_ChannelManager_removeChannel(UA_Int32 channelId);
  17. UA_Int32 SL_ChannelManager_getChannel(UA_UInt32 channelId, SL_Channel *channel);
  18. UA_Int32 SL_ChannelManager_getChannelLifeTime(UA_DateTime *lifeTime);
  19. UA_Int32 SL_ChannelManager_generateToken(SL_Channel channel, UA_Int32 requestedLifeTime, SecurityTokenRequestType requestType, UA_ChannelSecurityToken* newToken);
  20. UA_Int32 SL_ChannelManager_generateChannelId(UA_UInt32 *newChannelId);
  21. #endif /* UA_STACK_CHANNEL_MANAGER_H_ */