|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectexamples.connectivity.Client
| 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 |
public Client()
| Method Detail |
public static void main(java.lang.String[] args)
private static void run()
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 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||