|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.net.Socket
com.prosyst.util.net.ProxySocket
public class ProxySocket
| Constructor Summary | |
|---|---|
ProxySocket(java.lang.String address,
int port,
java.net.InetAddress proxy,
int pport)
Creates a socket and connects it to address binding it to port through HTTP proxy with address proxy:prpport |
|
ProxySocket(java.lang.String address,
int port,
java.net.InetAddress localAddress,
int localPort,
java.net.InetAddress proxy,
int pport)
|
|
| Method Summary |
|---|
| Methods inherited from class java.net.Socket |
|---|
bind, close, connect, connect, getChannel, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProxySocket(java.lang.String address,
int port,
java.net.InetAddress proxy,
int pport)
throws java.io.IOException
proxy - address of the proxyprport - port of the proxyaddress - target adressport - and port
java.io.IOException - if connection fails
public ProxySocket(java.lang.String address,
int port,
java.net.InetAddress localAddress,
int localPort,
java.net.InetAddress proxy,
int pport)
throws java.io.IOException
java.io.IOException
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||