public interface KrbTransport
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttachment()
Get the attachment set before.
|
InetAddress |
getRemoteAddress()
Get address from remote side.
|
boolean |
isTcp()
Judge the type of transport, return true if it is tcp,
|
ByteBuffer |
receiveMessage()
Receive a Kerberos message from remote.
|
void |
release()
Release and close related resources like connection.
|
void |
sendMessage(ByteBuffer message)
Send out a Kerberos message to remote peer.
|
void |
setAttachment(Object attachment)
Set an attachment.
|
void sendMessage(ByteBuffer message) throws IOException
message - The message to be sentIOException - eByteBuffer receiveMessage() throws IOException
IOException - eboolean isTcp()
InetAddress getRemoteAddress()
void setAttachment(Object attachment)
attachment - The attachmentObject getAttachment()
void release()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.