com.ibm.security.krb5.internal
Class TCPClient
- java.lang.Object
com.ibm.security.krb5.internal.TCPClient
- public class TCPClient
- extends java.lang.Object
Version:
$Revision$
Author:
$author$
Constructor Summary
Constructor and Description |
---|
TCPClient(java.net.InetAddress iaddr,int port)
|
TCPClient(java.lang.String hostname,int port,int timeout)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
close()
DOCUMENT ME!
|
|
getInetAddress()
DOCUMENT ME!
|
|
receive()
DOCUMENT ME!
|
|
send(byte[] data)
DOCUMENT ME!
|
|
setBufSize(int newBufSize)
DOCUMENT ME!
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
TCPClient
- public TCPClient(java.net.InetAddress iaddr,
- int port)
- throws java.io.IOException
Throws:
java.io.IOException
TCPClient
- public TCPClient(java.lang.String hostname,
- int port,
- int timeout)
- throws java.io.IOException
Throws:
java.io.IOException
Method Detail
setBufSize
- public void setBufSize(int newBufSize)
DOCUMENT ME!
Parameters:
newBufSize
- DOCUMENT ME! getInetAddress
- public java.net.InetAddress getInetAddress( )
DOCUMENT ME!
Returns:
DOCUMENT ME!
send
- public void send(byte[] data)
- throws java.io.IOException
DOCUMENT ME!
Parameters:
data
- DOCUMENT ME! Throws:
java.io.IOException
- DOCUMENT ME! receive
- public byte[] receive()
- throws java.io.IOException
DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.io.IOException
- DOCUMENT ME! close
- public void close()
- throws java.io.IOException
DOCUMENT ME!
Throws:
java.io.IOException
- DOCUMENT ME!