Save This Page
Home » j2ssh-0.2.9-src » com.sshtools.j2ssh.transport » [javadoc | source]
com.sshtools.j2ssh.transport
public class: ServiceState [javadoc | source]
java.lang.Object
   com.sshtools.j2ssh.util.State
      com.sshtools.j2ssh.transport.ServiceState

All Implemented Interfaces:
    Serializable

This class represents the state of a transport protocol service.

Field Summary
public static final  int SERVICE_UNINITIALIZED    The service is unitialized 
public static final  int SERVICE_STARTED    The service has started and can send/recieve messages 
public static final  int SERVICE_STOPPED    The service has stopped and no messages can be sent or received 
Fields inherited from com.sshtools.j2ssh.util.State:
state
Constructor:
 public ServiceState() 
Method from com.sshtools.j2ssh.transport.ServiceState Summary:
isValidState
Methods from com.sshtools.j2ssh.util.State:
breakWaiting,   getValue,   isValidState,   setValue,   waitForState,   waitForState,   waitForStateUpdate
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sshtools.j2ssh.transport.ServiceState Detail:
 public boolean isValidState(int state) 

    Evaluates whether the state is valid.