All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----icc.net.ServiceCenter
ServiceCenter(String owner, String projectname, int role) throws IOExceptionServiceCenter
public ServiceCenter(String name) throws IOException
IDCard id()getPort
public int getPort()register
public void register(Service service, String name)register
public IDCard register(DataService service, String name, int events[])register
public IDCard register(ServiceAgent service, String name, String image, int events[])service
Service service(String name)service
Service service(int i)agent
ServiceAgent agent(IDCard id)start
public boolean start()exit
public void exit()serve
void serve(Package pkg)serve
public abstract Event[] serve(Service service, Request request, IDCard consumer) throws Exceptionprocess
public void process(Package pkg)raise
void raise(RemoteException e)returnToSender
void returnToSender(Package pkg)returnToSender
void returnToSender(Package pkg, IDCard from)forward
void forward(Package pkg)handleEvent
public void handleEvent(Event event)handleException
public void handleException(Exception e)
All Packages Class Hierarchy This Package Previous Next Index
This website has been archived and is no longer maintained.