Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.yaftp.utils
Interface Service  view Service download Service.java


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
 

Method Detail

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