- public interface Service
|
Method Summary |
Service |
allocateInstance()
this method is used only for MULTIPLE_INSTANCE service and
is called to allocate a new instance of a service class which
will be 'started' by the ServiceServer class after this
allocation
SINGLE_INSTANCE service should just implement a return null
statement here |
void |
iAmWired(java.net.Socket mySocket)
this method is activated each time a new session is incomed |
iAmWired
public void iAmWired(java.net.Socket mySocket)
- this method is activated each time a new session is incomed
allocateInstance
public Service allocateInstance()
- this method is used only for MULTIPLE_INSTANCE service and
is called to allocate a new instance of a service class which
will be 'started' by the ServiceServer class after this
allocation
SINGLE_INSTANCE service should just implement a return null
statement here