edu.columbia.irt.mobiledyswis
Class PGPingFactory

java.lang.Object
  extended by edu.columbia.irt.mobiledyswis.PGPingFactory

public class PGPingFactory
extends java.lang.Object

This class makes Ping testing module (PGPing) for JavaScript

Author:
Jin Hyung Park (jp2105)

Constructor Summary
PGPingFactory(WebView appView)
          Instantiates a new PGPing factory.
 
Method Summary
 PGPing getInstance(java.lang.String hostName)
          Function to get the PGPing instance for JavaScript
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PGPingFactory

public PGPingFactory(WebView appView)
Instantiates a new PGPing factory.

Parameters:
appView - PhoneGap's Main WebView
Method Detail

getInstance

public PGPing getInstance(java.lang.String hostName)
Function to get the PGPing instance for JavaScript

Parameters:
hostName - The hostname to ping
Returns: