Gets the global TipcSrv RTserver connection object.
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:
// get the instance of the connection to the RTserver TipcSrv srv = TipcSvc.Srv; // create a SmartSockets message to publish TipcMsg msg = TipcSvc.createMsg(TipcMt.ALERT); msg.setDest("/foo"); msg.appendStr("warning!"); // TipcSrv.send will automatically connect to the RTserver if not already srv.send(msg); srv.flush();
RTserver must be running before a connection is made. The .NET library does not attempt to start an instance of RTserver.
TipcSvc Class | TipcSvc Members | TIBCO.SMARTSOCKETS Namespace | TipcSrv