All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class icc.net.ServiceCenter

java.lang.Object
   |
   +----icc.net.ServiceCenter

public abstract class ServiceCenter
extends Object
implements DataHandling, EventHandling

Constructor Index

 o ServiceCenter(String)
 o ServiceCenter(String, String, int)

Method Index

 o agent(IDCard)
 o exit()
 o forward(Package)
 o getPort()
 o handleEvent(Event)
 o handleException(Exception)
 o id()
 o process(Package)
 o raise(RemoteException)
 o register(DataService, String, int[])
 o register(Service, String)
 o register(ServiceAgent, String, String, int[])
 o returnToSender(Package)
 o returnToSender(Package, IDCard)
 o serve(Package)
 o serve(Service, Request, IDCard)
 o service(int)
 o service(String)
 o start()

Constructors

 o ServiceCenter
 ServiceCenter(String owner,
               String projectname,
               int role) throws IOException
 o ServiceCenter
 public ServiceCenter(String name) throws IOException

Methods

 o id
 IDCard id()
 o getPort
 public int getPort()
 o register
 public void register(Service service,
                      String name)
 o register
 public IDCard register(DataService service,
                        String name,
                        int events[])
 o register
 public IDCard register(ServiceAgent service,
                        String name,
                        String image,
                        int events[])
 o service
 Service service(String name)
 o service
 Service service(int i)
 o agent
 ServiceAgent agent(IDCard id)
 o start
 public boolean start()
 o exit
 public void exit()
 o serve
 void serve(Package pkg)
 o serve
 public abstract Event[] serve(Service service,
                               Request request,
                               IDCard consumer) throws Exception
 o process
 public void process(Package pkg)
 o raise
 void raise(RemoteException e)
 o returnToSender
 void returnToSender(Package pkg)
 o returnToSender
 void returnToSender(Package pkg,
                     IDCard from)
 o forward
 void forward(Package pkg)
 o handleEvent
 public void handleEvent(Event event)
 o 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.