com.sshtools.j2ssh.authentication

Class SshMsgUserAuthBanner


public class SshMsgUserAuthBanner
extends SshMessage

Version:
$Revision: 1.25 $
Author:
$author$

Field Summary

static int
SSH_MSG_USERAUTH_BANNER

Constructor Summary

SshMsgUserAuthBanner()
Creates a new SshMsgUserAuthBanner object.
SshMsgUserAuthBanner(String banner)
Creates a new SshMsgUserAuthBanner object.

Method Summary

protected void
constructByteArray(ByteArrayWriter baw)
protected void
constructMessage(ByteArrayReader bar)
String
getBanner()
String
getLanguageTag()
String
getMessageName()

Methods inherited from class com.sshtools.j2ssh.transport.SshMessage

constructByteArray, constructMessage, fromByteArray, getMessageId, getMessageId, getMessageName, toByteArray

Field Details

SSH_MSG_USERAUTH_BANNER

public static final int SSH_MSG_USERAUTH_BANNER
Field Value:
53

Constructor Details

SshMsgUserAuthBanner

public SshMsgUserAuthBanner()
Creates a new SshMsgUserAuthBanner object.

SshMsgUserAuthBanner

public SshMsgUserAuthBanner(String banner)
Creates a new SshMsgUserAuthBanner object.
Parameters:
banner -

Method Details

constructByteArray

protected void constructByteArray(ByteArrayWriter baw)
            throws InvalidMessageException
Overrides:
constructByteArray in interface SshMessage
Parameters:
baw -

constructMessage

protected void constructMessage(ByteArrayReader bar)
            throws InvalidMessageException
Overrides:
constructMessage in interface SshMessage
Parameters:
bar -

getBanner

public String getBanner()
Returns:

getLanguageTag

public String getLanguageTag()
Returns:

getMessageName

public String getMessageName()
Overrides:
getMessageName in interface SshMessage
Returns:

Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.