FileDocCategorySizeDatePackage
CodecSocket.javaAPI DocExample866Thu Mar 30 14:54:48 BST 2000tuning.distrib.rmi

CodecSocket

public class CodecSocket extends Socket

Fields Summary
InputStream
in
OutputStream
out
Constructors Summary
public CodecSocket()

      super();
public CodecSocket(String host, int port)

    super(host,port);
  
Methods Summary
public synchronized voidclose()

    getOutputStream().flush();
    getOutputStream().close();
  
public synchronized java.io.InputStreamgetInputStream()

    if (in == null)
      in = new CodecInputStream(super.getInputStream());
    return in;
  
public synchronized java.io.OutputStreamgetOutputStream()

    if (out == null)
      out = new CodecOutputStream(super.getOutputStream());
    return out;