# Uses of Class net.schmizz.sshj.connection.channel.direct.PTYMode (sshj 0.4.0 API)
Date: 2011-06-06

## Uses of Class
net.schmizz.sshj.connection.channel.direct.PTYMode

Packages that use PTYMode
net.schmizz.sshj.connection.channel.direct

Uses of PTYMode in net.schmizz.sshj.connection.channel.direct

Methods in net.schmizz.sshj.connection.channel.direct that return PTYMode
`static PTYMode` `PTYMode.valueOf(String name)` Returns the enum constant of this type with the specified name.
`static PTYMode[]` `PTYMode.values()` Returns an array containing the constants of this enum type, in the order they are declared.

Method parameters in net.schmizz.sshj.connection.channel.direct with type arguments of type PTYMode
`void` `SessionChannel.allocatePTY(String term, int cols, int rows, int width, int height, Map<PTYMode,Integer> modes)`
`void` `Session.allocatePTY(String term, int cols, int rows, int width, int height, Map<PTYMode,Integer> modes)` Allocate a psuedo-terminal for this session.
`static byte[]` `PTYMode.encode(Map<PTYMode,Integer> modes)`

Copyright © 2009-2011. All Rights Reserved.