edu.columbia.irt.mobiledyswis
Class PGTCPRouteFactory

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

public class PGTCPRouteFactory
extends java.lang.Object

This class makes TCP socket instance for JavaScript

Author:
Jin Hyung Park (jp2105)

Constructor Summary
PGTCPRouteFactory(WebView appView)
          Instantiates a new TCP socket factory.
 
Method Summary
 PGTCPRoute getInstance(java.lang.String ipWithPortLists)
          Getting PGTCPRoute instance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PGTCPRouteFactory

public PGTCPRouteFactory(WebView appView)
Instantiates a new TCP socket factory.

Parameters:
appView - the app view
Method Detail

getInstance

public PGTCPRoute getInstance(java.lang.String ipWithPortLists)
Getting PGTCPRoute instance

Parameters:
ipWithPortLists - Input String example is "192.168.123.123:80:192.168.123.124:80:..."
Returns:
PGTCPRoute instance will be returned.