com.sshtools.j2ssh.transport

Class SshMsgServiceAccept


public class SshMsgServiceAccept
extends SshMessage

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

Field Summary

protected static int
SSH_MSG_SERVICE_ACCEPT

Constructor Summary

SshMsgServiceAccept()
Creates a new SshMsgServiceAccept object.
SshMsgServiceAccept(String serviceName)
Creates a new SshMsgServiceAccept 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_ACCEPT

protected static final int SSH_MSG_SERVICE_ACCEPT
Field Value:
6

Constructor Details

SshMsgServiceAccept

public SshMsgServiceAccept()
Creates a new SshMsgServiceAccept object.

SshMsgServiceAccept

public SshMsgServiceAccept(String serviceName)
Creates a new SshMsgServiceAccept 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.