SmartSockets .NET Class Library

TipcSrv.create Method ()

Creates the RTserver connection using the default connection type CONN_FULL.

Connects to and handshakes with the RTserver process. Does not attempt to auto-start an RTserver if one cannot be contacted. Instead, it will loop through the list of servers specified with ss.server_names option until a connection is made. This process is synchronous. and all other threads that attempt to use the connection will block until this succeeds, or fails completely.

public virtual bool create();

Return Value

true if a successful connection was made. If the server process cannot be connected at all, then false will be returned.

Exceptions

Exception TypeCondition
TipcTimeoutException If the client timed out waiting for RTserver to reply to a connection request.
TipcAccessDeniedException If the server replied, but denied access.
TipcIOException For unrecoverable network failures.
TipcBadArgumentException When an invalid LCN is specified.
TipcNotFoundException When the protocol driver cannot be found.
TipcAssertionException If the LCN hostname is unknown.
TipcProxyException For erros when connecting to a proxy server.
TipcException For all other errors.

See Also

TipcSrv Class | TipcSrv Members | TIBCO.SMARTSOCKETS Namespace | TipcSrv.create Overload List


Copyright © TIBCO Software Inc. All rights reserved