/** * Returns a list of URNs of all module instances. * * @return a list of URNs of all module instances. * * @see ModuleManager#getModuleInstances(ModuleURN) */ @DisplayName("Fetches the URNs of all the module instances available in the system") List<String> getInstances(); /**
/** * Sets the server port number. * * @param inPort the server port number. */ @DisplayName("The server port number") public void setPort( @DisplayName("The server port number") int inPort);
/** * The server hostname. * * @return the server hostname. */ @DisplayName("The server host name") public String getHostname();
/** * Sets the string that should be prefixed to any orderIDs generated by * the client based on IDs issued by the server. * * @param inIDPrefix the orderID prefix. */ @DisplayName("The order ID prefix") void setIDPrefix( @DisplayName("The order ID prefix") String inIDPrefix); }
/** * Reconnects the client to the server. * * @throws RuntimeException if there were errors while reconnecting. */ @DisplayName("Reconnects the client module to the server") public void reconnect() throws RuntimeException;
/** * Resets the statistics for data flows and data types. */ @DisplayName("Reset all statistics") void resetStats(); }
/** * Gets the set of supported asset classes for this market data feed. * * @return a <code>Set<AssetClass></code> value */ @DisplayName("The set of supported asset classes for this feed") public Set<AssetClass> getAssetClasses(); }
/** * The port number of the server. * * @return the server port number. */ @DisplayName("The server port number") public int getPort();
/** * Sets the server host name. * * @param inHostname the server hostname. */ @DisplayName("The server host name") public void setHostname( @DisplayName("The server host name") String inHostname);
/** * Returns the parameters used by the client to connect to the server. * * @return the parameters used by the client to connect to the server. * * @throws RuntimeException if there errors fetching the parameters. */ @DisplayName("Parameters used by the client to connect to the server") public ClientParameters getParameters() throws RuntimeException;
/** * Gets the strategy status. * * @return a <code>String</code> value corresponding to a value in {@link Status}. */ @DisplayName("Gets the strategy status") public String getStatus(); /**
/** * Returns statistics on various types of data received by * the sink module. * The map has the data type name as the key and a counter of number * of instances that have been received by the sink module as the value * * @return map containing statistics on the different types of data * received by the module */ @DisplayName("Statistics based on data types") Map<String, Integer> getTypeStats();
/** * The username to use when connecting to the server. * * @return the username. */ @DisplayName("The Username for connecting to the server") String getUsername();
/** * Sets the user name to use when connecting to the server. * * @param inUsername the username. */ @DisplayName("The Username for connecting to the server") void setUsername( @DisplayName("The Username for connecting to the server") String inUsername);
/** * Sets the password to use when connecting to the server. * * @param inPassword the password. */ @DisplayName("The Password for connecting to the server") void setPassword(String inPassword);
/** * The string that should be prefixed to any orderIDs generated by * the client based on IDs issued by the server. * * @return the orderID prefix. */ @DisplayName("The order ID prefix") String getIDPrefix();
/** * Returns the time the client was connected or reconnected to the server. * * @return the time, client was connected to reconnected. * * @throws RuntimeException if the client was not initialized. */ @DisplayName("The last time this module was connected to the server") public Date getLastConnectTime() throws RuntimeException; }
/** * Returns the current destination for output created by this strategy. * * @return a <code>String</code> value containing a <code>String</code> representation of a {@link ModuleURN} or * null if no destination has been established. */ @DisplayName("The destination to which to send output created by the strategy") public String getOutputDestination(); /**
/** * Gets the strategy class name. * * @return the strategy class name. */ @DisplayName("Strategy class name") public String getName(); /**
@Override @DisplayName("Causes the feed to disconnect") public void disconnect() { feed.logout(); } /* (non-Javadoc)