charly.client
Class ChConnect

java.lang.Object
  extended bycharly.client.ChConnect

public class ChConnect
extends java.lang.Object


Field Summary
(package private)  ChServer charlyServer
           
(package private)  java.lang.String serverHostName
           
 
Constructor Summary
ChConnect()
          stellt Verbindung zu voreingestelltem Server her, Das ist "localhost"
ChConnect(java.lang.String serverHostName)
          This constructor expects a running RMI-Registry on a host called serverHostName
 
Method Summary
 ChServer getCharlyServer()
          This method is for internal use only.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serverHostName

java.lang.String serverHostName

charlyServer

ChServer charlyServer
Constructor Detail

ChConnect

public ChConnect(java.lang.String serverHostName)
This constructor expects a running RMI-Registry on a host called serverHostName


ChConnect

public ChConnect()
stellt Verbindung zu voreingestelltem Server her, Das ist "localhost"

Method Detail

getCharlyServer

public ChServer getCharlyServer()
                         throws java.rmi.RemoteException,
                                java.net.MalformedURLException,
                                java.rmi.NotBoundException
This method is for internal use only. It provides the connection to the server.

Throws:
java.rmi.RemoteException
java.net.MalformedURLException
java.rmi.NotBoundException