org.rhq.enterprise.communications
Interface Ping

All Known Implementing Classes:
PingImpl

public interface Ping

The interface to the Ping POJO - this is the interface that will be remotely exposed to clients.

Author:
John Mazzitelli

Method Summary
 String ping(String echoMessage, String prefix)
          Pings the POJO to ensure connectivity.
 

Method Detail

ping

String ping(String echoMessage,
            String prefix)
Pings the POJO to ensure connectivity. This simply returns the echoMessage back, prefixed with the optional prefix message. This mimics the functionality of the EchoCommand.

Parameters:
echoMessage - message to echo back to the caller
prefix - the string to be prepended to the echo message before being returned (may be null)
Returns:
the echo message, prepended with the prefix string


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.