Class ClientFactory.FCClientFactory

  • Enclosing class:
    ClientFactory

    public static class ClientFactory.FCClientFactory
    extends ClientFactory
    A factory for creating FCClient objects.
    • Constructor Summary

      Constructors 
      Constructor Description
      FCClientFactory​(int numOfClients)
      Instantiates a new fC client factory.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.common.collect.HashBiMap<java.lang.Integer,​FileTransferMechanism> get​(java.lang.String remoteServer, int port)
      Gets a BiMap that maps client numbers to their respective instances
      • Methods inherited from class unlimited.fc.client.api.multiclient.ClientFactory

        get
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FCClientFactory

        public FCClientFactory​(int numOfClients)
        Instantiates a new fC client factory.
        Parameters:
        numOfClients - the num of clients
    • Method Detail

      • get

        public com.google.common.collect.HashBiMap<java.lang.Integer,​FileTransferMechanism> get​(java.lang.String remoteServer,
                                                                                                      int port)
        Description copied from class: ClientFactory
        Gets a BiMap that maps client numbers to their respective instances
        Overrides:
        get in class ClientFactory
        Parameters:
        remoteServer - the remote server
        port - the port
        Returns:
        the vector