All RTserver connections share a common set of options set by the option assessor methods in the Tut class. Option values for a particular connection object may be overridden by using the option assessor methods available to the TipcSrv object, inherited from the TipcConnClient interface.
The one exception is the ss.unique_subject
option. A new
default unique subject will be generated for each TipcSrv object
created by the this method.
Note: this method will not create a connection to RTserver. Use the create method to do this. The methods to send and receive messages will also automatically connect to RTserver.
Example:
// create a new connection object TipcSrv srv = TipcSvc.createSrv(); // set the unique subject of the connection srv.setOption("ss.unique_subject", "/publish_client"); // create the connection to the RTserver srv.create();
RTserver must be running before a connection is made. The .NET library does not attempt to start an instance of RTserver.
a new TipcSrv object
TipcSvc Class | TipcSvc Members | TIBCO.SMARTSOCKETS Namespace | TipcSrv | Srv