bb
Class RemoteEntityConnectionBB

java.lang.Object
  extended bybb.RemoteEntityConnectionBB

public class RemoteEntityConnectionBB
extends java.lang.Object

The class responsible for binding the BulletinBoard to the RMI registry

Author:
bent

Constructor Summary
RemoteEntityConnectionBB(java.lang.String host, int port)
          Starts a connection to the RMI registry at the given host and port.
 
Method Summary
 BulletinBoard bindBulletinBoard()
          Binds the BulletinBoard to the RMI Registry
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteEntityConnectionBB

public RemoteEntityConnectionBB(java.lang.String host,
                                int port)
                         throws java.rmi.RemoteException
Starts a connection to the RMI registry at the given host and port.

Parameters:
host -
port -
Throws:
java.rmi.RemoteException - Thrown if the registry was not found
Method Detail

bindBulletinBoard

public BulletinBoard bindBulletinBoard()
                                throws java.rmi.RemoteException
Binds the BulletinBoard to the RMI Registry

Returns:
The stub for the remote BulletinBoard
Throws:
java.rmi.RemoteException - If the binding of the BulletinBoard failed