com.datastax.cassandra.transport.messages
Class AuthResponse

java.lang.Object
  extended by com.datastax.cassandra.transport.Message
      extended by com.datastax.cassandra.transport.Message.Request
          extended by com.datastax.cassandra.transport.messages.AuthResponse

public class AuthResponse
extends Message.Request

A SASL token message sent from client to server. Some SASL mechanisms & clients may send an initial token before receiving a challenge from the server.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.datastax.cassandra.transport.Message
Message.Codec<M extends Message>, Message.Direction, Message.ProtocolDecoder, Message.ProtocolEncoder, Message.Request, Message.Response, Message.Type
 
Field Summary
static Message.Codec<AuthResponse> codec
           
 
Fields inherited from class com.datastax.cassandra.transport.Message.Request
tracingRequested
 
Fields inherited from class com.datastax.cassandra.transport.Message
connection, logger, type
 
Constructor Summary
AuthResponse(byte[] token)
           
 
Method Summary
 org.jboss.netty.buffer.ChannelBuffer encode()
           
 
Methods inherited from class com.datastax.cassandra.transport.Message.Request
execute, isTracingRequested, setTracingRequested
 
Methods inherited from class com.datastax.cassandra.transport.Message
attach, connection, getStreamId, setStreamId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

codec

public static final Message.Codec<AuthResponse> codec
Constructor Detail

AuthResponse

public AuthResponse(byte[] token)
Method Detail

encode

public org.jboss.netty.buffer.ChannelBuffer encode()
Specified by:
encode in class Message


Copyright © 2013. All Rights Reserved.