| This function connects to RMI server and provides an object to interact with that service. |
| Declaration: |
| function connectToService( string protocols, string url, string service ) |
| Parameters: |
| Parameter #1: string protocols - The protocols to use to connect to the remote service, e.g. ::tcpip |
| Parameter #2: string url - The connection url to pass to the protocol stack specified in the previous parameter. Given the previous example, connect:host. |
| Parameter #3: string service - The name of the service to connect to. |
| Returns: |
| An object connected to the service, null otherwise. |
| Example: |
object o = RMI.connectToService( "::tcpip", "connect:localhost:", "SomeResource" ); |