Top Fields Constructors Methods
org.apache.sshd.common.session

public Class SessionWorkBuffer

extends ByteArrayBuffer
implements SessionHolder<Session>
Class Inheritance
All Implemented Interfaces
org.apache.sshd.common.session.SessionHolder, org.apache.sshd.common.session.SessionContextHolder
Imports
java.util.Objects, org.apache.sshd.common.util.buffer.Buffer, .ByteArrayBuffer

Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
private final Session
Inherited from org.apache.sshd.common.util.buffer.ByteArrayBuffer:
DEFAULT_SIZE

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Buffer
clear(boolean
Whether to zero any previously existing data
wipeData
)

Overrides org.apache.sshd.common.util.buffer.ByteArrayBuffer.clear.

Reset read/write positions to zero

public void
forceClear(boolean wipeData)

public Session
Inherited from org.apache.sshd.common.util.buffer.ByteArrayBuffer:
arrayavailablecapacitycompactcopyRawBytesensureCapacitygetBytegetBytesConsumedgetBytesConsumedgetCompactClonegetCompactClonegetIntgetRawBytesgetStringgetUIntputBufferputBufferputByteputBytesputIntputRawBytesputUIntrawByterawUIntrposrpossizewposwpos

Field Detail

sessionback to summary
private final Session session

Constructor Detail

SessionWorkBufferback to summary
public SessionWorkBuffer(Session session)

Method Detail

clearback to summary
public Buffer clear(boolean wipeData)

Overrides org.apache.sshd.common.util.buffer.ByteArrayBuffer.clear.

Doc from org.apache.sshd.common.util.buffer.Buffer.clear.

Reset read/write positions to zero

Parameters
wipeData:boolean

Whether to zero any previously existing data

Returns:Buffer

Reference to this buffer

Annotations
@Override
forceClearback to summary
public void forceClear(boolean wipeData)
getSessionback to summary
public Session getSession()

Implements org.apache.sshd.common.session.SessionHolder.getSession.

Annotations
@Override