public class ObjectSocketChannelStream extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
log |
Constructor and Description |
---|
ObjectSocketChannelStream(ByteChannel channel) |
Modifier and Type | Method and Description |
---|---|
ByteChannel |
getChannel() |
ObjectInputStream |
getInputStream() |
ObjectOutputStream |
getOutputStream() |
static InputStream |
newInputStream(ByteChannel channel) |
static OutputStream |
newOutputStream(ByteChannel channel) |
byte[] |
readByteArray(int sze) |
Object |
readObject() |
void |
write(ByteBuffer tmp) |
void |
writeObject(Object obj) |
public ObjectSocketChannelStream(ByteChannel channel)
public ByteChannel getChannel()
public void writeObject(Object obj) throws IOException
IOException
public Object readObject() throws IOException
IOException
public ObjectInputStream getInputStream()
public ObjectOutputStream getOutputStream()
public byte[] readByteArray(int sze) throws IOException
IOException
public void write(ByteBuffer tmp) throws IOException
IOException
public static OutputStream newOutputStream(ByteChannel channel)
public static InputStream newInputStream(ByteChannel channel)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.