public final class SaslUnwrappingConduit extends AbstractMessageSinkConduit<MessageSinkConduit> implements MessageSinkConduit
next
Constructor and Description |
---|
SaslUnwrappingConduit(MessageSinkConduit next,
SaslWrapper wrapper) |
Modifier and Type | Method and Description |
---|---|
boolean |
flush()
Flush out any unwritten, buffered output.
|
boolean |
send(ByteBuffer src)
Send a complete message.
|
boolean |
send(ByteBuffer[] srcs,
int offs,
int len)
Send a complete message.
|
awaitWritable, awaitWritable, getWriteThread, isWriteResumed, isWriteShutdown, resumeWrites, setWriteReadyHandler, suspendWrites, terminateWrites, truncateWrites, wakeupWrites
getWorker
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
awaitWritable, awaitWritable, getWriteThread, isWriteResumed, isWriteShutdown, resumeWrites, setWriteReadyHandler, suspendWrites, terminateWrites, truncateWrites, wakeupWrites
public SaslUnwrappingConduit(MessageSinkConduit next, SaslWrapper wrapper)
public boolean send(ByteBuffer src) throws IOException
MessageSinkConduit
send
in interface MessageSinkConduit
send
in class AbstractMessageSinkConduit<MessageSinkConduit>
true
if the message was sent, or false
if it would blockIOException
- if an I/O error occurspublic boolean send(ByteBuffer[] srcs, int offs, int len) throws IOException
MessageSinkConduit
send
in interface MessageSinkConduit
send
in class AbstractMessageSinkConduit<MessageSinkConduit>
offs
- the offset into the buffer array of the first bufferlen
- the number of buffers that contain data to sendtrue
if the message was sent, or false
if it would blockIOException
- if an I/O error occurspublic boolean flush() throws IOException
SinkConduit
flush
in interface SinkConduit
flush
in class AbstractSinkConduit<MessageSinkConduit>
true
if everything is flushed, false
otherwiseIOException
- if flush failsCopyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.