Class SessionWorkBuffer
java.lang.Object
org.apache.sshd.common.util.buffer.Buffer
org.apache.sshd.common.util.buffer.ByteArrayBuffer
org.apache.sshd.common.session.SessionWorkBuffer
- All Implemented Interfaces:
SessionContextHolder, SessionHolder<Session>, Readable
-
Field Summary
FieldsFields inherited from class ByteArrayBuffer
DEFAULT_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclear(boolean wipeData) Reset read/write positions to zerovoidforceClear(boolean wipeData) Methods inherited from class ByteArrayBuffer
array, available, capacity, compact, copyRawBytes, ensureCapacity, getByte, getBytesConsumed, getBytesConsumed, getCompactClone, getCompactClone, getInt, getRawBytes, getString, getUInt, putBuffer, putBuffer, putByte, putBytes, putInt, putRawBytes, putUInt, rawByte, rawUInt, rpos, rpos, size, wpos, wposMethods inherited from class Buffer
clear, dumpHex, dumpHex, ensureAvailable, ensureCapacity, extractEC, getAvailableStrings, getAvailableStrings, getBoolean, getBytes, getCertificateOptions, getCertificateOptions, getCompactData, getKeyPair, getLong, getMPInt, getMPIntAsBytes, getNameList, getNameList, getNameList, getNameList, getPublicKey, getPublicKey, getRawBytes, getRawPublicKey, getRawPublicKey, getShort, getString, getStringList, getStringList, getStringList, getStringList, getUByte, getUShort, isValidMessageStructure, isValidMessageStructure, putAndWipeBytes, putAndWipeBytes, putAndWipeChars, putAndWipeChars, putAndWipeChars, putAndWipeChars, putBoolean, putBuffer, putBufferedData, putBytes, putCertificateOptions, putCertificateOptions, putChars, putChars, putChars, putChars, putKeyPair, putLong, putMPInt, putMPInt, putNameList, putNameList, putNameList, putNameList, putOptionalBufferedData, putPublicKey, putRawBytes, putRawPublicKey, putRawPublicKeyBytes, putShort, putString, putString, putStringList, putStringList, toHex, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface SessionHolder
getSessionContext
-
Field Details
-
session
-
-
Constructor Details
-
SessionWorkBuffer
-
-
Method Details
-
getSession
- Specified by:
getSessionin interfaceSessionHolder<Session>
-
clear
Description copied from class:BufferReset read/write positions to zero- Overrides:
clearin classByteArrayBuffer- Parameters:
wipeData- Whether to zero any previously existing data- Returns:
- Reference to this buffer
-
forceClear
public void forceClear(boolean wipeData)
-