|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.columbia.irt.mobiledyswis.PGTCPSocketFactory
public class PGTCPSocketFactory
This class makes TCP socket instance for JavaScript
Constructor Summary | |
---|---|
PGTCPSocketFactory(WebView appView)
Instantiates a new TCP socket factory. |
Method Summary | |
---|---|
PGTCPSocket |
getInstance(java.lang.String ipWithPortAndBind)
Getting PGTCPSocket instance |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PGTCPSocketFactory(WebView appView)
appView
- the app viewMethod Detail |
---|
public PGTCPSocket getInstance(java.lang.String ipWithPortAndBind)
ipWithPortAndBind
- Input String example is "192.168.123.123:80:false" or "0.0.0.0:9999:true". With false value, PGTCPSocket will connect to the given the IP and port. With true value, PGTCPSocket will open the local TCP incoming port.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |