|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.communications.PingImpl
public class PingImpl
Implements the Ping POJO which simply echoes back a message to the caller. This enables a caller to ping this object to ensure connectivity. This POJO is meant to be remoted so remote clients can ping the server where this POJO lives.
| Constructor Summary | |
|---|---|
PingImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
ping(java.lang.String echoMessage,
java.lang.String prefix)
Pings the POJO to ensure connectivity. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PingImpl()
| Method Detail |
|---|
public java.lang.String ping(java.lang.String echoMessage,
java.lang.String prefix)
PingechoMessage back, prefixed with the
optional prefix message. This mimics the functionality of the EchoCommand.
ping in interface PingechoMessage - message to echo back to the callerprefix - the string to be prepended to the echo message before being returned (may be
null)
Ping.ping(String, String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||