com.jakeapp.jake.ics.impl.sockets.filetransfer
Class SimpleSocketFileTransferFactory

java.lang.Object
  extended by com.jakeapp.jake.ics.impl.sockets.filetransfer.SimpleSocketFileTransferFactory
All Implemented Interfaces:
ITransferMethodFactory

public class SimpleSocketFileTransferFactory
extends java.lang.Object
implements ITransferMethodFactory


Field Summary
static int DEFAULT_MAXIMAL_REQUEST_AGE_SECONDS
           
static int DEFAULT_PORT
           
protected static java.lang.String END
           
protected static java.lang.String START
           
 
Constructor Summary
SimpleSocketFileTransferFactory()
           
SimpleSocketFileTransferFactory(int maximalRequestAgeSeconds)
           
SimpleSocketFileTransferFactory(int maximalRequestAgeSeconds, int port)
           
 
Method Summary
 ITransferMethod getTransferMethod(IMsgService negotiationService, UserId user)
          return a new instance of this transferMethod (using this once is wise)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

START

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

END

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

DEFAULT_PORT

public static final int DEFAULT_PORT
See Also:
Constant Field Values

DEFAULT_MAXIMAL_REQUEST_AGE_SECONDS

public static final int DEFAULT_MAXIMAL_REQUEST_AGE_SECONDS
See Also:
Constant Field Values
Constructor Detail

SimpleSocketFileTransferFactory

public SimpleSocketFileTransferFactory()

SimpleSocketFileTransferFactory

public SimpleSocketFileTransferFactory(int maximalRequestAgeSeconds)

SimpleSocketFileTransferFactory

public SimpleSocketFileTransferFactory(int maximalRequestAgeSeconds,
                                       int port)
Method Detail

getTransferMethod

public ITransferMethod getTransferMethod(IMsgService negotiationService,
                                         UserId user)
Description copied from interface: ITransferMethodFactory
return a new instance of this transferMethod (using this once is wise)

Specified by:
getTransferMethod in interface ITransferMethodFactory
user - your userid
Returns:


Copyright © 2011. All Rights Reserved.