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
IOExceptionpublic Object readObject() throws IOException
IOExceptionpublic ObjectInputStream getInputStream()
public ObjectOutputStream getOutputStream()
public byte[] readByteArray(int sze)
throws IOException
IOExceptionpublic void write(ByteBuffer tmp) throws IOException
IOExceptionpublic static OutputStream newOutputStream(ByteChannel channel)
public static InputStream newInputStream(ByteChannel channel)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.