3.1.1.3 Session Factory Object

A Session Factory object encapsulates a factory for socket-based connections between set(s) of peer applications.

SessionList:  A list of Session objects (section 3.1.1.4) that are a part of this Session Factory object.

AppID (Public Read/Write):  A UTF-8 string that identifies the contract or interface for this Session Factory object. This Session Factory will only create and link up Session objects with other Session Factory objects that provide exactly the same AppID in the AppInfo field of the Session Factory Service Activation message (section 2.2.12).

AlternateIDList (Public Read/Write):  A list of alternate AppIDs for other platforms that the Session Factory will also attempt to activate.

Launch (Boolean):  TRUE if the L (Launch) flag SHOULD be set in the appropriate Session Factory Service Activation message. FALSE if the flag SHOULD be cleared.

SessionFactoryID (8 bytes):  A random number that uniquely identifies this instance of Session Factory object.

TcpPort (Public Read):  The TCP/IP port on which the Session Factory is listening and can accept Session sockets after a Session Activation (section 2.2.11)/ Session ACK (section 2.2.10) exchange.

RfcommPort (Public Read):  The RFCOMM/Bluetooth port on which the Session Factory is listening and can accept Session sockets after a Session Activation/Session ACK exchange.

ReferenceCount (Public Write):  A count of references to the Session Factory object by either the client application or KeepAlive timers.