Class StdProtoSocketIO

java.lang.Object
org.marid.proto.impl.io.StdProtoIO
org.marid.proto.impl.io.StdProtoSocketIO
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable, org.marid.io.IOCloseable, ProtoIO

public class StdProtoSocketIO
extends StdProtoIO
Author:
Dmitry Ovchinnikov
  • Constructor Summary

    Constructors 
    Constructor Description
    StdProtoSocketIO​(java.net.Socket socket)  
  • Method Summary

    Modifier and Type Method Description
    void close()  

    Methods inherited from class org.marid.proto.impl.io.StdProtoIO

    getInputStream, getOutputStream

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.marid.io.IOCloseable

    closeSafely

    Methods inherited from interface org.marid.proto.io.ProtoIO

    call, doWith
  • Constructor Details

    • StdProtoSocketIO

      public StdProtoSocketIO​(java.net.Socket socket) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • close

      public void close() throws java.io.IOException
      Specified by:
      close in interface java.lang.AutoCloseable
      Specified by:
      close in interface java.io.Closeable
      Overrides:
      close in class StdProtoIO
      Throws:
      java.io.IOException