public class SshMsgUserAuthInfoRequest extends SshMessage
Modifier and Type | Field and Description |
---|---|
static int |
SSH_MSG_USERAUTH_INFO_REQUEST |
Constructor and Description |
---|
SshMsgUserAuthInfoRequest()
Creates a new SshMsgUserAuthInfoRequest object.
|
SshMsgUserAuthInfoRequest(java.lang.String name,
java.lang.String instruction,
java.lang.String langtag)
Creates a new SshMsgUserAuthInfoRequest object.
|
Modifier and Type | Method and Description |
---|---|
void |
addPrompt(java.lang.String prompt,
boolean echo) |
protected void |
constructByteArray(ByteArrayWriter baw)
Message implementations should implement this method, writing the data
as exected in the transport protocol message format.
|
protected void |
constructMessage(ByteArrayReader bar)
Message implementation should implement this method, reading the data as
expected in the transport protocol message format.
|
java.lang.String |
getInstruction() |
java.lang.String |
getLanguageTag() |
java.lang.String |
getMessageName()
Returns the name of the message implementation for debugging purposes.
|
java.lang.String |
getName() |
KBIPrompt[] |
getPrompts() |
fromByteArray, getMessageId, getMessageId, toByteArray
public static final int SSH_MSG_USERAUTH_INFO_REQUEST
public SshMsgUserAuthInfoRequest()
public SshMsgUserAuthInfoRequest(java.lang.String name, java.lang.String instruction, java.lang.String langtag)
name
- instruction
- langtag
- public void addPrompt(java.lang.String prompt, boolean echo)
prompt
- echo
- public KBIPrompt[] getPrompts()
public java.lang.String getName()
public java.lang.String getInstruction()
public java.lang.String getLanguageTag()
public java.lang.String getMessageName()
SshMessage
Returns the name of the message implementation for debugging purposes.
getMessageName
in class SshMessage
protected void constructByteArray(ByteArrayWriter baw) throws InvalidMessageException
SshMessage
Message implementations should implement this method, writing the data as exected in the transport protocol message format.
constructByteArray
in class SshMessage
baw
- InvalidMessageException
- DOCUMENT
ME!InvalidMessageException
protected void constructMessage(ByteArrayReader bar) throws InvalidMessageException
SshMessage
Message implementation should implement this method, reading the data as expected in the transport protocol message format.
constructMessage
in class SshMessage
bar
- InvalidMessageException
- DOCUMENT
ME!InvalidMessageException
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.