public class UnixStreamClientChannel extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getMaxPacketSizeBytes() |
String |
getTransportType() |
boolean |
isOpen() |
String |
toString() |
int |
write(ByteBuffer src) |
int |
writeAll(ByteBuffer bb,
boolean canReturnOnTimeout,
long deadline)
Writes all bytes from the given buffer to the channel.
|
public boolean isOpen()
public int write(ByteBuffer src) throws IOException
IOExceptionpublic int writeAll(ByteBuffer bb, boolean canReturnOnTimeout, long deadline) throws IOException
bb - buffer to writecanReturnOnTimeout - if true, we return if the channel is blocking and we haven't
written anything yetdeadline - deadline for the writeIOException - if the channel is closed or an error occurspublic void close()
throws IOException
IOExceptionpublic String getTransportType()
public int getMaxPacketSizeBytes()
Copyright © 2025. All rights reserved.