Package org.apache.sshd.common.channel
Class PtyChannelConfiguration
- java.lang.Object
-
- org.apache.sshd.common.channel.PtyChannelConfiguration
-
- All Implemented Interfaces:
PtyChannelConfigurationHolder
,PtyChannelConfigurationMutator
public class PtyChannelConfiguration extends Object implements PtyChannelConfigurationMutator
- Author:
- Apache MINA SSHD Project
-
-
Field Summary
-
Fields inherited from interface org.apache.sshd.common.channel.PtyChannelConfigurationHolder
DEFAULT_COLUMNS_COUNT, DEFAULT_HEIGHT, DEFAULT_PTY_MODES, DEFAULT_ROWS_COUNT, DEFAULT_WIDTH, DUMMY_PTY_TYPE, WINDOWS_PTY_TYPE
-
-
Constructor Summary
Constructors Constructor Description PtyChannelConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPtyColumns()
int
getPtyHeight()
int
getPtyLines()
Map<PtyMode,Integer>
getPtyModes()
String
getPtyType()
int
getPtyWidth()
void
setPtyColumns(int ptyColumns)
void
setPtyHeight(int ptyHeight)
void
setPtyLines(int ptyLines)
void
setPtyModes(Map<PtyMode,Integer> ptyModes)
void
setPtyType(String ptyType)
void
setPtyWidth(int ptyWidth)
String
toString()
-
-
-
Method Detail
-
getPtyType
public String getPtyType()
- Specified by:
getPtyType
in interfacePtyChannelConfigurationHolder
-
setPtyType
public void setPtyType(String ptyType)
- Specified by:
setPtyType
in interfacePtyChannelConfigurationMutator
-
getPtyColumns
public int getPtyColumns()
- Specified by:
getPtyColumns
in interfacePtyChannelConfigurationHolder
-
setPtyColumns
public void setPtyColumns(int ptyColumns)
- Specified by:
setPtyColumns
in interfacePtyChannelConfigurationMutator
-
getPtyLines
public int getPtyLines()
- Specified by:
getPtyLines
in interfacePtyChannelConfigurationHolder
-
setPtyLines
public void setPtyLines(int ptyLines)
- Specified by:
setPtyLines
in interfacePtyChannelConfigurationMutator
-
getPtyWidth
public int getPtyWidth()
- Specified by:
getPtyWidth
in interfacePtyChannelConfigurationHolder
-
setPtyWidth
public void setPtyWidth(int ptyWidth)
- Specified by:
setPtyWidth
in interfacePtyChannelConfigurationMutator
-
getPtyHeight
public int getPtyHeight()
- Specified by:
getPtyHeight
in interfacePtyChannelConfigurationHolder
-
setPtyHeight
public void setPtyHeight(int ptyHeight)
- Specified by:
setPtyHeight
in interfacePtyChannelConfigurationMutator
-
getPtyModes
public Map<PtyMode,Integer> getPtyModes()
- Specified by:
getPtyModes
in interfacePtyChannelConfigurationHolder
-
setPtyModes
public void setPtyModes(Map<PtyMode,Integer> ptyModes)
- Specified by:
setPtyModes
in interfacePtyChannelConfigurationMutator
-
-