com.jbase.jremote.io
Class NIOJBaseObjectWriter
java.lang.Object
com.jbase.jremote.io.AbstractJBaseObjectWriter
com.jbase.jremote.io.NIOJBaseObjectWriter
- All Implemented Interfaces:
- JBaseObjectWriter
public class NIOJBaseObjectWriter
- extends AbstractJBaseObjectWriter
jBase object writer using the new Java IO.
- Author:
- aphethean
Field Summary |
static long |
WRITE_TIMEOUT
The temporary selectors write timeout. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WRITE_TIMEOUT
public static final long WRITE_TIMEOUT
- The temporary selectors write timeout. 30 seconds.
- See Also:
- Constant Field Values
NIOJBaseObjectWriter
public NIOJBaseObjectWriter(SocketChannel socketChannel)
close
public void close()
throws IOException
- Throws:
IOException
flush
protected void flush()
throws IOException
- Specified by:
flush
in class AbstractJBaseObjectWriter
- Throws:
IOException
outByte
protected void outByte(byte[] b)
- Specified by:
outByte
in class AbstractJBaseObjectWriter
outByte
protected void outByte(int b)
- Specified by:
outByte
in class AbstractJBaseObjectWriter
outInt
protected void outInt(int i)
- Specified by:
outInt
in class AbstractJBaseObjectWriter
outUTF
protected void outUTF(String s)
- Specified by:
outUTF
in class AbstractJBaseObjectWriter
checkBuffer
protected void checkBuffer(int newDataLength)
setSocketChannel
public void setSocketChannel(SocketChannel socketChannel)
Copyright © 2016 TEMENOS. All Rights Reserved.