Perform a noop on the TIBCO Patterns Engine.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub svrnoop() _ Implements INetricsServerInterface.svrnoop |
C# |
---|
public void svrnoop() |
C++ |
---|
public: void svrnoop() sealed |
J# |
---|
public void svrnoop() |
JScript |
---|
public function svrnoop() |
Implements
INetricsServerInterface.svrnoop
Exceptions
Exception Type | Condition |
---|---|
NetricsException | If the server indicates that an error has occured |
Remarks
This method is the quickest way to determine if the Netrics server is responding or not.
Example
This sample code shows how to ping the TIBCO Patterns Engine.
![]() | |
---|---|
using System; using NetricsServerInterface; class MyClass { private static NetricsServerInterface.NetricsServerInterface si = null; public static void Main() { try { String host = "localhost"; int port = 5051; si = new NetricsServerInterface.NetricsServerInterface(host, port); si.svrnoop(); Console.Write("Server No Operation (NOOP) successful.\n"); } catch (NetricsException e) { Console.Write(e.getErrorDescription() + "\n"); } } } |