|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.net.Socket
jist.runtime.ProxyPoint.ProxyAcceptSocket
public static class ProxyPoint.ProxyAcceptSocket
A Socket on the server-side that operates via the ProxyPoint proxy.
| Field Summary | |
|---|---|
private java.net.InetSocketAddress |
remote
proxied socket end-point. |
private java.net.Socket |
s
outgoing socket to proxy server. |
| Constructor Summary | |
|---|---|
ProxyPoint.ProxyAcceptSocket(java.net.InetAddress host,
int port,
java.net.Socket s)
Create an accepted proxied socket on the server side. |
|
| Method Summary | |
|---|---|
void |
close()
|
java.net.InetAddress |
getInetAddress()
|
java.io.InputStream |
getInputStream()
|
java.io.OutputStream |
getOutputStream()
|
int |
getPort()
|
java.net.SocketAddress |
getRemoteSocketAddress()
|
| Methods inherited from class java.net.Socket |
|---|
bind, connect, connect, getChannel, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getReceiveBufferSize, 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 |
| Field Detail |
|---|
private java.net.InetSocketAddress remote
private java.net.Socket s
| Constructor Detail |
|---|
public ProxyPoint.ProxyAcceptSocket(java.net.InetAddress host,
int port,
java.net.Socket s)
throws java.io.IOException
host - proxied endpoint hostport - proxied endpoint ports - socket to proxy server
java.io.IOException - when i/o fails| Method Detail |
|---|
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class java.net.Socketjava.io.IOException
public java.io.OutputStream getOutputStream()
throws java.io.IOException
getOutputStream in class java.net.Socketjava.io.IOException
public void close()
throws java.io.IOException
close in class java.net.Socketjava.io.IOExceptionpublic java.net.SocketAddress getRemoteSocketAddress()
getRemoteSocketAddress in class java.net.Socketpublic java.net.InetAddress getInetAddress()
getInetAddress in class java.net.Socketpublic int getPort()
getPort in class java.net.Socket
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||