com.sshtools.j2ssh.transport

Class SshMsgServiceRequest


public class SshMsgServiceRequest
extends SshMessage

Version:
$Revision: 1.21 $
Author:
$author$

Field Summary

static int
SSH_MSG_SERVICE_REQUEST

Constructor Summary

SshMsgServiceRequest()
Creates a new SshMsgServiceRequest object.
SshMsgServiceRequest(String serviceName)
Creates a new SshMsgServiceRequest object.

Method Summary

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

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

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

Field Details

SSH_MSG_SERVICE_REQUEST

public static final int SSH_MSG_SERVICE_REQUEST
Field Value:
5

Constructor Details

SshMsgServiceRequest

public SshMsgServiceRequest()
Creates a new SshMsgServiceRequest object.

SshMsgServiceRequest

public SshMsgServiceRequest(String serviceName)
Creates a new SshMsgServiceRequest object.
Parameters:
serviceName -

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 -

getMessageName

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

getServiceName

public String getServiceName()
Returns:

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