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.SshMsgUserAuthRequest
public class SshMsgUserAuthRequest
extends SshMessage
Field Summary | |
static int |
Constructor Summary | |
| |
|
Method Summary | |
protected void | |
protected void | |
String | |
String | |
byte[] | |
String | |
String |
Methods inherited from class com.sshtools.j2ssh.transport.SshMessage | |
constructByteArray , constructMessage , fromByteArray , getMessageId , getMessageId , getMessageName , toByteArray |
public SshMsgUserAuthRequest()
Creates a new SshMsgUserAuthRequest object.
public SshMsgUserAuthRequest(String username, String serviceName, String methodName, byte[] requestData)
Creates a new SshMsgUserAuthRequest object.
- Parameters:
username
-serviceName
-methodName
-requestData
-
protected void constructByteArray(ByteArrayWriter baw) throws InvalidMessageException
- Overrides:
- constructByteArray in interface SshMessage
- Parameters:
baw
-
- Throws:
InvalidMessageException
-
protected void constructMessage(ByteArrayReader bar) throws InvalidMessageException
- Overrides:
- constructMessage in interface SshMessage
- Parameters:
bar
-
- Throws:
InvalidMessageException
-
public String getMessageName()
- Overrides:
- getMessageName in interface SshMessage
- Returns:
public String getMethodName()
- Returns:
public byte[] getRequestData()
- Returns:
public String getServiceName()
- Returns:
public String getUsername()
- Returns: