com.sshtools.j2ssh.authentication
Class SshMsgUserAuthSuccess

java.lang.Object
  |
  +--com.sshtools.j2ssh.transport.SshMessage
        |
        +--com.sshtools.j2ssh.authentication.SshMsgUserAuthSuccess

public class SshMsgUserAuthSuccess
extends SshMessage

Implements the SSH_MSG_USERAUTH_SUCCESS message

Version:
1.0
Author:
Lee David Painter ( lee@sshtools.com )

Field Summary
protected static int SSH_MSG_USERAUTH_SUCCESS
          The message id
 
Constructor Summary
SshMsgUserAuthSuccess()
          Constructs the message
 
Method Summary
protected  void constructByteArray(ByteArrayWriter baw)
           Constructs a byte array containing the message data.
protected  void constructMessage(ByteArrayReader bar)
           Constructs the message a byte array.
 java.lang.String getMessageName()
           Gets the message name for debugging.
 
Methods inherited from class com.sshtools.j2ssh.transport.SshMessage
fromByteArray, getMessageId, toByteArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SSH_MSG_USERAUTH_SUCCESS

protected static final int SSH_MSG_USERAUTH_SUCCESS
The message id

See Also:
Constant Field Values
Constructor Detail

SshMsgUserAuthSuccess

public SshMsgUserAuthSuccess()
Constructs the message

Method Detail

getMessageName

public java.lang.String getMessageName()

Gets the message name for debugging.

Specified by:
getMessageName in class SshMessage
Returns:

constructMessage

protected void constructMessage(ByteArrayReader bar)
                         throws InvalidMessageException

Constructs the message a byte array.

Specified by:
constructMessage in class SshMessage
Parameters:
bar - The byte array being read.
Throws:
InvalidMessageException

constructByteArray

protected void constructByteArray(ByteArrayWriter baw)
                           throws InvalidMessageException

Constructs a byte array containing the message data.

Specified by:
constructByteArray in class SshMessage
Parameters:
baw - The byte array being written
Throws:
InvalidMessageException


Copyright © 2002 Sshtools.com. All Rights Reserved.