|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--com.sun.rpc.Connection | +--com.sun.rpc.ConnectSocket
Sets up a TCP connection to the server. This class lets us transmit and receive buffers of data to a port on a remote server. It also handles reconnection of broken TCP links.
Connection
Fields inherited from class com.sun.rpc.Connection |
port,
server |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
Constructor Summary | |
ConnectSocket(java.lang.String server,
int port,
int maxSize)
Construct a new connection to a specified server and port. |
Methods inherited from class com.sun.rpc.Connection |
getCache,
putCache,
run,
toString |
Methods inherited from class java.lang.Thread |
activeCount,
checkAccess,
countStackFrames,
currentThread,
destroy,
dumpStack,
enumerate,
getContextClassLoader,
getName,
getPriority,
getThreadGroup,
interrupt,
interrupted,
isAlive,
isDaemon,
isInterrupted,
join,
join,
join,
resume,
setContextClassLoader,
setDaemon,
setName,
setPriority,
sleep,
sleep,
start,
stop,
stop,
suspend,
yield |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ConnectSocket(java.lang.String server, int port, int maxSize) throws java.io.IOException
server
- The hostname of the serverport
- The port number on the servermaxSize
- The maximum size of the received reply
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |