org.apache.sshd.common
Enum PtyMode

java.lang.Object
  extended by java.lang.Enum<PtyMode>
      extended by org.apache.sshd.common.PtyMode
All Implemented Interfaces:
Serializable, Comparable<PtyMode>

public enum PtyMode
extends Enum<PtyMode>

A enum describing the tty modes.

Author:
Apache MINA SSHD Project

Enum Constant Summary
CS7
           
CS8
           
ECHO
           
ECHOCTL
           
ECHOE
           
ECHOK
           
ECHOKE
           
ECHONL
           
ICANON
           
ICRNL
           
IEXTEN
           
IGNCR
           
IGNPAR
           
IMAXBEL
           
INLCR
           
INPCK
           
ISIG
           
ISTRIP
           
IUCLC
           
IXANY
           
IXOFF
           
IXON
           
NOFLSH
           
OCRNL
           
OLCUC
           
ONLCR
           
ONLRET
           
ONOCR
           
OPOST
           
PARENB
           
PARMRK
           
PARODD
           
PENDIN
           
TOSTOP
           
TTY_OP_ISPEED
           
TTY_OP_OSPEED
           
VDISCARD
           
VDSUSP
           
VEOF
           
VEOL
           
VEOL2
           
VERASE
           
VFLUSH
           
VINTR
           
VKILL
           
VLNEXT
           
VQUIT
           
VREPRINT
           
VSTART
           
VSTATUS
           
VSTOP
           
VSUSP
           
VSWTCH
           
VWERASE
           
XCASE
           
 
Method Summary
static PtyMode fromInt(int b)
           
 int toInt()
           
static PtyMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PtyMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VINTR

public static final PtyMode VINTR

VQUIT

public static final PtyMode VQUIT

VERASE

public static final PtyMode VERASE

VKILL

public static final PtyMode VKILL

VEOF

public static final PtyMode VEOF

VEOL

public static final PtyMode VEOL

VEOL2

public static final PtyMode VEOL2

VSTART

public static final PtyMode VSTART

VSTOP

public static final PtyMode VSTOP

VSUSP

public static final PtyMode VSUSP

VDSUSP

public static final PtyMode VDSUSP

VREPRINT

public static final PtyMode VREPRINT

VWERASE

public static final PtyMode VWERASE

VLNEXT

public static final PtyMode VLNEXT

VFLUSH

public static final PtyMode VFLUSH

VSWTCH

public static final PtyMode VSWTCH

VSTATUS

public static final PtyMode VSTATUS

VDISCARD

public static final PtyMode VDISCARD

IGNPAR

public static final PtyMode IGNPAR

PARMRK

public static final PtyMode PARMRK

INPCK

public static final PtyMode INPCK

ISTRIP

public static final PtyMode ISTRIP

INLCR

public static final PtyMode INLCR

IGNCR

public static final PtyMode IGNCR

ICRNL

public static final PtyMode ICRNL

IUCLC

public static final PtyMode IUCLC

IXON

public static final PtyMode IXON

IXANY

public static final PtyMode IXANY

IXOFF

public static final PtyMode IXOFF

IMAXBEL

public static final PtyMode IMAXBEL

ISIG

public static final PtyMode ISIG

ICANON

public static final PtyMode ICANON

XCASE

public static final PtyMode XCASE

ECHO

public static final PtyMode ECHO

ECHOE

public static final PtyMode ECHOE

ECHOK

public static final PtyMode ECHOK

ECHONL

public static final PtyMode ECHONL

NOFLSH

public static final PtyMode NOFLSH

TOSTOP

public static final PtyMode TOSTOP

IEXTEN

public static final PtyMode IEXTEN

ECHOCTL

public static final PtyMode ECHOCTL

ECHOKE

public static final PtyMode ECHOKE

PENDIN

public static final PtyMode PENDIN

OPOST

public static final PtyMode OPOST

OLCUC

public static final PtyMode OLCUC

ONLCR

public static final PtyMode ONLCR

OCRNL

public static final PtyMode OCRNL

ONOCR

public static final PtyMode ONOCR

ONLRET

public static final PtyMode ONLRET

CS7

public static final PtyMode CS7

CS8

public static final PtyMode CS8

PARENB

public static final PtyMode PARENB

PARODD

public static final PtyMode PARODD

TTY_OP_ISPEED

public static final PtyMode TTY_OP_ISPEED

TTY_OP_OSPEED

public static final PtyMode TTY_OP_OSPEED
Method Detail

values

public static PtyMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PtyMode c : PtyMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PtyMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toInt

public int toInt()

fromInt

public static PtyMode fromInt(int b)


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.