generate the port to be used as a client for the given receiver concode_field_sep String DNS_FILE_NAME concode_elem_sep String hostName concode_elem_sep List<Server> serverList concode_elem_sep float maxTemp concode_elem_sep int BARRIER_PORT_1 concode_elem_sep int instanceNumber concode_elem_sep List<Partition> partitionList concode_elem_sep int PORT_START concode_elem_sep Barrier barrier concode_elem_sep List<HostPortPair> hostList concode_elem_sep HostPortPair hostPortPair concode_elem_sep Map<String,TextSocket.Server> serverSocketMap concode_elem_sep boolean host concode_elem_sep Map<String,TextSocket> clientSocketMap concode_elem_sep int BARRIER_PORT_2 concode_field_sep List<TempDetails> mergeList concode_elem_sep void waitForServers concode_elem_sep String getHostName concode_elem_sep String getHostName concode_elem_sep String getHostName concode_elem_sep void readDNSFile concode_elem_sep void spawnServers concode_elem_sep void waitForCompletion concode_elem_sep void sortData concode_elem_sep void clearList concode_elem_sep boolean isHost concode_elem_sep HostPortPair getHostPortPair concode_elem_sep void getPivots concode_elem_sep int getServerPort concode_elem_sep void fillPartition concode_elem_sep void closeConnections concode_elem_sep int getInstanceNumber concode_elem_sep float getTemperature concode_elem_sep float getMaxTemp
int function ( HostPortPair arg0 ) { return ( arg0 . getInstanceNumber ( ) - 1 ) * 2 + ( hostPortPair . getInstanceNumber ( ) - 1 ) + PORT_START ; }