Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.sshtools.j2ssh.transport.SshMessage
com.sshtools.j2ssh.authentication.SshMsgUserAuthInfoRequest
public class SshMsgUserAuthInfoRequest
extends SshMessage
Field Summary | |
static int |
Constructor Summary | |
| |
|
Method Summary | |
void |
|
protected void | |
protected void | |
String | |
String | |
String | |
String |
|
KBIPrompt[] |
Methods inherited from class com.sshtools.j2ssh.transport.SshMessage | |
constructByteArray , constructMessage , fromByteArray , getMessageId , getMessageId , getMessageName , toByteArray |
public SshMsgUserAuthInfoRequest()
Creates a new SshMsgUserAuthInfoRequest object.
public SshMsgUserAuthInfoRequest(String name, String instruction, String langtag)
Creates a new SshMsgUserAuthInfoRequest object.
- Parameters:
name
-instruction
-langtag
-
public void addPrompt(String prompt, boolean echo)
- Parameters:
prompt
-echo
-
protected void constructByteArray(ByteArrayWriter baw) throws InvalidMessageException
- Overrides:
- constructByteArray in interface SshMessage
- Parameters:
baw
-
- Throws:
InvalidMessageException
- DOCUMENT ME!InvalidMessageException
-
protected void constructMessage(ByteArrayReader bar) throws InvalidMessageException
- Overrides:
- constructMessage in interface SshMessage
- Parameters:
bar
-
- Throws:
InvalidMessageException
- DOCUMENT ME!InvalidMessageException
-
public String getInstruction()
- Returns:
public String getLanguageTag()
- Returns:
public String getMessageName()
- Overrides:
- getMessageName in interface SshMessage
- Returns:
public String getName()
- Returns: