-
public class DfSSLSocketCreated by Nasir on 8/3/16.
-
-
Field Summary
Fields Modifier and Type Field Description public BufferedReaderin
-
Constructor Summary
Constructors Constructor Description DfSSLSocket()
-
Method Summary
Modifier and Type Method Description static StringextractData(String httpResponse)voidconnect(int timeout)voidsetSoTimeout(int timeout)StringgetRemoteSocketAddress()booleanisConnected()booleangetTcpNoDelay()voidsetTcpNoDelay(boolean set)booleanisSocketDisconnected()booleanisClosed()voidwrite(Array<byte> data, int length, int offset, String hostName, String targetIP, int targetPort)static StringbytesToHex(Array<byte> bytes)voidclose()intread(Array<byte> data)StringtoString()booleanisHandShakingDone()-
-
Method Detail
-
extractData
static String extractData(String httpResponse)
-
connect
void connect(int timeout)
-
setSoTimeout
void setSoTimeout(int timeout)
-
getRemoteSocketAddress
String getRemoteSocketAddress()
-
isConnected
boolean isConnected()
-
getTcpNoDelay
boolean getTcpNoDelay()
-
setTcpNoDelay
void setTcpNoDelay(boolean set)
-
isSocketDisconnected
boolean isSocketDisconnected()
-
isClosed
boolean isClosed()
-
write
void write(Array<byte> data, int length, int offset, String hostName, String targetIP, int targetPort)
-
bytesToHex
static String bytesToHex(Array<byte> bytes)
-
close
void close()
-
isHandShakingDone
boolean isHandShakingDone()
-
-
-
-