Documentation of 'org.python.core.io.SocketIOBase' Java class
SocketIOBase
org.python.core.io

Class SocketIOBase<T extends java.nio.channels.Channel>

    • Constructor Detail

      • SocketIOBase

        public SocketIOBase(T socketChannel,
                            java.lang.String mode)
        Construct a SocketIOBase for the given socket Channel
        Parameters:
        socketChannel - a Channel to wrap
        mode - a raw io socket mode String
    • Method Detail

      • close

        public void close()
        Description copied from class: IOBase
        Flushes and closes the IO object. This must be idempotent. It should also set a flag for the 'closed' property (see below) to test.
        Overrides:
        close in class IOBase
      • getChannel

        public T getChannel()
        Description copied from class: RawIOBase
        Return the underlying Java nio Channel.
        Specified by:
        getChannel in class RawIOBase
        Returns:
        the underlying Java nio Channel
      • readable

        public boolean readable()
        Description copied from class: IOBase
        Return whether this file was opened for reading.
        Overrides:
        readable in class IOBase
        Returns:
        true if the file was opened for reading
      • writable

        public boolean writable()
        Description copied from class: IOBase
        Return whether this file was opened for writing.
        Overrides:
        writable in class IOBase
        Returns:
        true if the file was opened for writing

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.