com.sshtools.j2ssh.authentication
Class SshMsgUserAuthBanner

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

public class SshMsgUserAuthBanner
extends SshMessage

This class implements the SSH_MSG_USERAUTH_BANNER message

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

Field Summary
static int SSH_MSG_USERAUTH_BANNER
          Description of the Field
 
Constructor Summary
SshMsgUserAuthBanner()
           Constructor for the message
 
Method Summary
protected  void constructByteArray(ByteArrayWriter baw)
           Constructs a byye array containing the message data.
protected  void constructMessage(ByteArrayReader bar)
           Constructs the message from data received.
 java.lang.String getBanner()
           Gets the banner text.
 java.lang.String getLanguageTag()
           Gets the language tag.
 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_BANNER

public static final int SSH_MSG_USERAUTH_BANNER
Description of the Field

See Also:
Constant Field Values
Constructor Detail

SshMsgUserAuthBanner

public SshMsgUserAuthBanner()

Constructor for the message

Method Detail

getMessageName

public java.lang.String getMessageName()

Gets the message name for debugging.

Specified by:
getMessageName in class SshMessage
Returns:
The message name

constructMessage

protected void constructMessage(ByteArrayReader bar)
                         throws InvalidMessageException

Constructs the message from data received.

Specified by:
constructMessage in class SshMessage
Parameters:
bar - The byte array containing the message
Throws:
InvalidMessageException - Description of the Exception

constructByteArray

protected void constructByteArray(ByteArrayWriter baw)
                           throws InvalidMessageException

Constructs a byye array containing the message data.

Specified by:
constructByteArray in class SshMessage
Parameters:
baw - The byte array being written to.
Throws:
InvalidMessageException - Description of the Exception

getBanner

public java.lang.String getBanner()

Gets the banner text.

Returns:

getLanguageTag

public java.lang.String getLanguageTag()

Gets the language tag.

Returns:


Copyright © 2002 Sshtools.com. All Rights Reserved.