ContainerId Property
The container Id the class should advertise when connecting.
Syntax
ANSI (Cross Platform) char* GetContainerId();
int SetContainerId(const char* lpszContainerId); Unicode (Windows) LPWSTR GetContainerId();
INT SetContainerId(LPCWSTR lpszContainerId);
@property (nonatomic,readwrite,assign,getter=containerId,setter=setContainerId:) NSString* containerId; - (NSString*)containerId; - (void)setContainerId:(NSString*)newContainerId;
#define PID_AMQP_CONTAINERID 3 IPWORKSIOT_EXTERNAL void* IPWORKSIOT_CALL IPWorksIoT_AMQP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_AMQP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This property specifies the container Id that the class should advertise when it's connecting to the remote host.
In AMQP, the top-level organizational grouping is called a "container", and each container can contain zero or more "nodes", which are the actual entities which send and receive messages over links.
Since this class handles multiple layers of the AMQP transport protocol (the overall connection, the sessions in that connection, and the links attached to those sessions), it must be given a unique container Id.
Note: The container Id cannot be changed while connected.
This property is not available at design time.
Data Type
String