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:
org.apache.sshd.common.session.SessionContextHolder, SessionHolder<Session>, org.apache.sshd.common.util.Readable

public class SessionWorkBuffer extends org.apache.sshd.common.util.buffer.ByteArrayBuffer implements SessionHolder<Session>
Author:
Apache MINA SSHD Project
  • Field Summary

    Fields inherited from class org.apache.sshd.common.util.buffer.ByteArrayBuffer

    DEFAULT_SIZE

    Fields inherited from class org.apache.sshd.common.util.buffer.Buffer

    workBuf
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.sshd.common.util.buffer.Buffer
    clear(boolean wipeData)
     
    void
    forceClear(boolean wipeData)
     
     

    Methods inherited from class org.apache.sshd.common.util.buffer.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, wpos

    Methods inherited from class org.apache.sshd.common.util.buffer.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, toString

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface SessionHolder

    getSessionContext
  • Constructor Details

    • SessionWorkBuffer

      public SessionWorkBuffer(Session session)
  • Method Details

    • getSession

      public Session getSession()
      Specified by:
      getSession in interface SessionHolder<Session>
    • clear

      public org.apache.sshd.common.util.buffer.Buffer clear(boolean wipeData)
      Overrides:
      clear in class org.apache.sshd.common.util.buffer.ByteArrayBuffer
    • forceClear

      public void forceClear(boolean wipeData)