com.sshtools.j2ssh.transport
Class ServiceState
- Serializable
public class ServiceState
This class represents the state of a transport protocol service.
boolean | isValidState(int state) -
Evaluates whether the state is valid.
|
SERVICE_STARTED
public static final int SERVICE_STARTED
The service has started and can send/recieve messages
SERVICE_STOPPED
public static final int SERVICE_STOPPED
The service has stopped and no messages can be sent or received
SERVICE_UNINITIALIZED
public static final int SERVICE_UNINITIALIZED
The service is unitialized
ServiceState
public ServiceState()
Constructs the state instance
isValidState
public boolean isValidState(int state)
Evaluates whether the state is valid.
- isValidState in interface State
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.