com.ibm.security.krb5.internal

Class TCPClient

  1. java.lang.Object
  2. extended bycom.ibm.security.krb5.internal.TCPClient

  1. public class TCPClient
  2. extends java.lang.Object
DOCUMENT ME!
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
  1. void
close()
DOCUMENT ME!
  1. java.net.InetAddress
getInetAddress()
DOCUMENT ME!
  1. byte[]
receive()
DOCUMENT ME!
  1. void
send(byte[] data)
DOCUMENT ME!
  1. void
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

  1. public TCPClient(java.net.InetAddress iaddr,
  2. int port)
  3. throws java.io.IOException
Throws:
java.io.IOException

TCPClient

  1. public TCPClient(java.lang.String hostname,
  2. int port,
  3. int timeout)
  4. throws java.io.IOException
Throws:
java.io.IOException

Method Detail

setBufSize

  1. public void setBufSize(int newBufSize)
DOCUMENT ME!
Parameters:
newBufSize - DOCUMENT ME!

getInetAddress

  1. public java.net.InetAddress getInetAddress( )
DOCUMENT ME!
Returns:
DOCUMENT ME!

send

  1. public void send(byte[] data)
  2. throws java.io.IOException
DOCUMENT ME!
Parameters:
data - DOCUMENT ME!
Throws:
java.io.IOException - DOCUMENT ME!

receive

  1. public byte[] receive()
  2. throws java.io.IOException
DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.io.IOException - DOCUMENT ME!

close

  1. public void close()
  2. throws java.io.IOException
DOCUMENT ME!
Throws:
java.io.IOException - DOCUMENT ME!