Client Connection (-CCON)

The Client Connection adapter command determines if client connections are associated exclusively with a specific map instance, or might be shared between map instances.


-CCON excl|shared
Option
Description
excl
The client connection is exclusive to a particular map instance. This is the default client connection mode. Once a client has connected to the adapter that is running in server mode, that connection is associated with the map instance until the client disconnects. The map can involve a conversation with the client, where multiple requests are received from the client, and multiple responses returned. This option should be used in an environment where the client connects to the socket, engages in a conversation, and then disconnects.
shared
The client connection can be shared by multiple map instances. When used in collaboration with the -QTY and -LSN commands, the adapter can be configured to run a map once a number of messages have been received, as specified by the -QTY command, or when a listening time has elapsed, as specified by the -LSN command. This option should be used in an environment where the client connects to the socket, and then remains connected, feeding a continual stream of messages to the Flow Engine.

See "Conversation Support" for more information on using this command.