The network session client class.
- Command Input:
s(AppName)
- Command Output:
v
- Command Description:
- Set the application name. Will be used together with the AppVersion to identify sessions.
- Command Input:
v
- Command Output:
s(AppName)
- Command Description:
- Get the application name.
- Command Input:
s(AppVersion)
- Command Output:
v
- Command Description:
- Set the version string. Will be used together with the AppName to identify sessions.
- Command Input:
v
- Command Output:
s(AppVersion)
- Command Description:
- Get the application version string.
- Command Input:
s(AttrName), s(AttrValue)
- Command Output:
v
- Command Description:
- Set a client attribute.
- Command Input:
s(AttrName)
- Command Output:
s(AttrValue)
- Command Description:
- Get a client attribute.
- Command Input:
v
- Command Output:
i(NumClientAttrs)
- Command Description:
- Get number of client attributes.
- Command Input:
i(AttrIndex)
- Command Output:
s(AttrName), s(AttrValue)
- Command Description:
- Get a client attribute by index.
- Command Input:
v
- Command Output:
i(NumDiscoveredServers)
- Command Description:
- Get number of discovered servers.
- Command Input:
i(Index)
- Command Output:
o(ServerContextObject)
- Command Description:
- Get session server object at given index.
- Command Input:
v
- Command Output:
o(ServerContextObject)
- Command Description:
- Get reference to joined server.
- Command Input:
v
- Command Output:
b(Success)
- Command Description:
- Open the session client. This will start discovering open sessions on the network.
- Command Input:
v
- Command Output:
v
- Command Description:
- Close the session client.
- Command Input:
v
- Command Output:
b(OpenFlag)
- Command Description:
- Check if session client is currently open.
- Command Input:
s(SessionGuid)
- Command Output:
b(PartialSuccessCode)
- Command Description:
- Send a join request to the session server identified by the session's guid. The success code only indicates, whether a session of that guid could be found, it does NOT indicate whether the join was successful. The session server will reply a join accepted or denied message at some later time.
- Command Input:
v
- Command Output:
b
- Command Description:
- Leave the currently joined session.
- Command Input:
v
- Command Output:
b(JoinedFlag)
- Command Description:
- Return true if currently joined to a session.
- Command Input:
v
- Command Output:
b(JoinAcceptedFlag)
- Command Description:
- Return true if the server had accepted the join session request.
- Command Input:
v
- Command Output:
b(JoinDeniedFlag)
- Command Description:
- Return true if the server had denied the join session request.