com.jakeapp.jake.ics.filetransfer.methods
Interface ITransferMethod

All Known Implementing Classes:
SimpleSocketFileTransferMethod

public interface ITransferMethod

constructed by the corresponding TransferMethodFactory

Author:
johannes

Field Summary
static java.lang.String FILE_REQUEST
           
static java.lang.String FILE_RESPONSE_DONT_HAVE
           
 
Method Summary
 void request(FileRequest request, INegotiationSuccessListener nsl)
          We want to request a file, i.e.
 void startServing(IncomingTransferListener l, FileRequestFileMapper mapper)
          Start the server so others may request files
 void stopServing()
          Shutdown the server in a clean way
 

Field Detail

FILE_REQUEST

static final java.lang.String FILE_REQUEST
See Also:
Constant Field Values

FILE_RESPONSE_DONT_HAVE

static final java.lang.String FILE_RESPONSE_DONT_HAVE
See Also:
Constant Field Values
Method Detail

startServing

void startServing(IncomingTransferListener l,
                  FileRequestFileMapper mapper)
                  throws NotLoggedInException
Start the server so others may request files

Parameters:
l -
mapper -
Throws:
NotLoggedInException

request

void request(FileRequest request,
             INegotiationSuccessListener nsl)
We want to request a file, i.e. start the negotiation

Parameters:
request -
nsl -

stopServing

void stopServing()
Shutdown the server in a clean way



Copyright © 2011. All Rights Reserved.