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(java.nio.ByteBuffer src)
Send a complete message.
|
boolean |
send(java.nio.ByteBuffer[] srcs,
int offs,
int len)
Send a complete message.
|
boolean |
sendFinal(java.nio.ByteBuffer src)
Send a complete message.
|
boolean |
sendFinal(java.nio.ByteBuffer[] srcs,
int offs,
int len)
Send a complete message.
|
awaitWritable, awaitWritable, getWriteThread, isWriteResumed, isWriteShutdown, resumeWrites, setWriteReadyHandler, suspendWrites, terminateWrites, truncateWrites, wakeupWritesgetWorkerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitawaitWritable, awaitWritable, getWriteThread, isWriteResumed, isWriteShutdown, resumeWrites, setWriteReadyHandler, suspendWrites, terminateWrites, truncateWrites, wakeupWritespublic SaslUnwrappingConduit(MessageSinkConduit next, SaslWrapper wrapper)
public boolean send(java.nio.ByteBuffer src)
throws java.io.IOException
MessageSinkConduitsend in interface MessageSinkConduitsend in class AbstractMessageSinkConduit<MessageSinkConduit>src - the message to sendtrue if the message was sent, or false if it would blockjava.io.IOException - if an I/O error occurspublic boolean send(java.nio.ByteBuffer[] srcs,
int offs,
int len)
throws java.io.IOException
MessageSinkConduitsend in interface MessageSinkConduitsend in class AbstractMessageSinkConduit<MessageSinkConduit>srcs - the buffers holding the message to sendoffs - 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 blockjava.io.IOException - if an I/O error occurspublic boolean sendFinal(java.nio.ByteBuffer src)
throws java.io.IOException
MessageSinkConduitsendFinal in interface MessageSinkConduitsendFinal in class AbstractMessageSinkConduit<MessageSinkConduit>src - the message to sendtrue if the message was sent, or false if it would blockjava.io.IOException - if an I/O error occurspublic boolean sendFinal(java.nio.ByteBuffer[] srcs,
int offs,
int len)
throws java.io.IOException
MessageSinkConduitsendFinal in interface MessageSinkConduitsendFinal in class AbstractMessageSinkConduit<MessageSinkConduit>srcs - the buffers holding the message to sendoffs - 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 blockjava.io.IOException - if an I/O error occurspublic boolean flush()
throws java.io.IOException
SinkConduitflush in interface SinkConduitflush in class AbstractSinkConduit<MessageSinkConduit>true if everything is flushed, false otherwisejava.io.IOException - if flush failsCopyright © 2016 JBoss, a division of Red Hat, Inc.