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, toByteArraypublic 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()
SshMessageReturns the name of the message implementation for debugging purposes.
getMessageName in class SshMessageprotected void constructByteArray(ByteArrayWriter baw) throws InvalidMessageException
SshMessageMessage implementations should implement this method, writing the data as exected in the transport protocol message format.
constructByteArray in class SshMessagebaw - InvalidMessageException - DOCUMENT
ME!InvalidMessageExceptionprotected void constructMessage(ByteArrayReader bar) throws InvalidMessageException
SshMessageMessage implementation should implement this method, reading the data as expected in the transport protocol message format.
constructMessage in class SshMessagebar - InvalidMessageException - DOCUMENT
ME!InvalidMessageExceptionCopyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.