Log4j 1.1

pl.psnc.expres.remote.network
Interface INetworkMonitor


public interface INetworkMonitor

INetworkMonitor interface - defines an interface between Vlbi Broker and EXPReS Network Monitor (ENM). This interface is used to request network metrics and find best connection match-up between translation node (TN) and radio telescopes.

Author:
Dominik Stoklosa (~osa~)
Email address
osa@man.poznan.pl

Method Summary
 java.util.List<NetworkMetric> getNetworkMetric(int networkOrderId)
          Get network metric by the specified network order identifier.
 int orderNetworkMetric(MessageHeader messageHeader, NetworkMetric networkMetric)
          Creates a new network metric order.
 

Method Detail

orderNetworkMetric

int orderNetworkMetric(MessageHeader messageHeader,
                       NetworkMetric networkMetric)
Creates a new network metric order. This order will be processed by the EXPReS Network Module (ENM).

Parameters:
messageHeader - message header, information about message sender
networkMetric - instance of network metric order
Returns:
metric order identifier

getNetworkMetric

java.util.List<NetworkMetric> getNetworkMetric(int networkOrderId)
Get network metric by the specified network order identifier. If the network metrics is not ready than NULL is returned.

Parameters:
networkOrderId - identifier of the network metrics
Returns:
network metric or NULL if network metric is not ready yet.

Log4j 1.1

Copyright 2007-2008 by VLAB