Package distrsys.rmi.bank.common

Examples of distrsys.rmi.bank.common.Bank


  public void bind(int port) throws RemoteException
  {
    if (System.getSecurityManager() == null) {
            System.setSecurityManager(new SecurityManager());
        }
        Bank stub =(Bank)UnicastRemoteObject.exportObject(this, 0);
        Registry registry = LocateRegistry.getRegistry();
        registry.rebind(bankName, stub);
  }
View Full Code Here

TOP

Related Classes of distrsys.rmi.bank.common.Bank

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.