CreateSession Method
Creates a new session with the given name.
Object Oriented Interface
public function doCreateSession($name);
Procedural Interface
ipworksiot_amqp_do_createsession($res, $name);
Remarks
This method creates a new session with the given Name and adds it to the Session* properties. If a session with the given Name already exists, an error will be thrown.
AMQP 1.0's transport protocol has three layers: an overarching connection between two containers, the sessions opened on that connection, and the links (between the containers' nodes) attached to those sessions.