Keel 2.1RC2

examples.connectivity
Class Client

java.lang.Object
  extended byexamples.connectivity.Client

public class Client
extends java.lang.Object

Author:

Constructor Summary
Client()
           
 
Method Summary
static void main(java.lang.String[] args)
           
private static void run()
          This example shows two ways of using the remote proxy feature:

1.

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Client

public Client()
Method Detail

main

public static void main(java.lang.String[] args)

run

private static void run()
This example shows two ways of using the remote proxy feature:

1. It creates a client proxy that creates a matching instance on the server. The client now has seamless access this new instance on the server.

2. The instance on the server creates a new proxy to another specific instance on and sends this proxy to the client. The client then have access to this specific instance. (Proxy created on the server-side using: RemoteProxy proxy = RemoteProxy.createServerProxy(myInstance, "localhost", 7777);)


Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.