public class NoOpTTrasport
extends org.apache.storm.thrift.transport.TSaslServerTransport
Modifier and Type | Class and Description |
---|---|
protected static class |
org.apache.storm.thrift.transport.TSaslTransport.NegotiationStatus |
protected static class |
org.apache.storm.thrift.transport.TSaslTransport.SaslResponse |
protected static class |
org.apache.storm.thrift.transport.TSaslTransport.SaslRole |
Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_MAX_LENGTH |
protected static int |
MECHANISM_NAME_BYTES |
protected static int |
PAYLOAD_LENGTH_BYTES |
protected static int |
STATUS_BYTES |
protected org.apache.storm.thrift.transport.TTransport |
underlyingTransport |
Constructor and Description |
---|
NoOpTTrasport(org.apache.storm.thrift.transport.TTransport transport) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
isOpen() |
void |
open() |
int |
read(byte[] bytes,
int i,
int i1) |
protected int |
readLength() |
protected org.apache.storm.thrift.transport.TSaslTransport.SaslResponse |
receiveSaslMessage() |
protected org.apache.storm.thrift.transport.TTransportException |
sendAndThrowMessage(org.apache.storm.thrift.transport.TSaslTransport.NegotiationStatus arg0,
String arg1) |
protected void |
sendSaslMessage(org.apache.storm.thrift.transport.TSaslTransport.NegotiationStatus arg0,
byte[] arg1) |
protected void |
setSaslServer(SaslServer arg0) |
void |
write(byte[] bytes,
int i,
int i1) |
protected void |
writeLength(int arg0) |
addServerDefinition, getRole, handleSaslStartMessage
protected static final int DEFAULT_MAX_LENGTH
protected static final int MECHANISM_NAME_BYTES
protected static final int STATUS_BYTES
protected static final int PAYLOAD_LENGTH_BYTES
protected org.apache.storm.thrift.transport.TTransport underlyingTransport
public NoOpTTrasport(org.apache.storm.thrift.transport.TTransport transport)
public boolean isOpen()
isOpen
in class org.apache.storm.thrift.transport.TSaslServerTransport
public void open() throws org.apache.storm.thrift.transport.TTransportException
open
in class org.apache.storm.thrift.transport.TSaslServerTransport
org.apache.storm.thrift.transport.TTransportException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class org.apache.storm.thrift.transport.TSaslServerTransport
public int read(byte[] bytes, int i, int i1) throws org.apache.storm.thrift.transport.TTransportException
read
in class org.apache.storm.thrift.transport.TSaslServerTransport
org.apache.storm.thrift.transport.TTransportException
public void write(byte[] bytes, int i, int i1) throws org.apache.storm.thrift.transport.TTransportException
write
in class org.apache.storm.thrift.transport.TSaslServerTransport
org.apache.storm.thrift.transport.TTransportException
protected void setSaslServer(SaslServer arg0)
protected void sendSaslMessage(org.apache.storm.thrift.transport.TSaslTransport.NegotiationStatus arg0, byte[] arg1) throws org.apache.storm.thrift.transport.TTransportException
org.apache.storm.thrift.transport.TTransportException
protected org.apache.storm.thrift.transport.TSaslTransport.SaslResponse receiveSaslMessage() throws org.apache.storm.thrift.transport.TTransportException
org.apache.storm.thrift.transport.TTransportException
protected org.apache.storm.thrift.transport.TTransportException sendAndThrowMessage(org.apache.storm.thrift.transport.TSaslTransport.NegotiationStatus arg0, String arg1) throws org.apache.storm.thrift.transport.TTransportException
org.apache.storm.thrift.transport.TTransportException
protected int readLength() throws org.apache.storm.thrift.transport.TTransportException
org.apache.storm.thrift.transport.TTransportException
protected void writeLength(int arg0) throws org.apache.storm.thrift.transport.TTransportException
org.apache.storm.thrift.transport.TTransportException
Copyright © 2019 The Apache Software Foundation. All rights reserved.