Package host.anzo.simon.io
Class AcceptAllBufferAllocator
java.lang.Object
org.apache.mina.core.buffer.SimpleBufferAllocator
host.anzo.simon.io.AcceptAllBufferAllocator
- All Implemented Interfaces:
org.apache.mina.core.buffer.IoBufferAllocator
public class AcceptAllBufferAllocator
extends org.apache.mina.core.buffer.SimpleBufferAllocator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.mina.core.buffer.IoBufferallocate(int capacity, boolean direct) org.apache.mina.core.buffer.IoBufferwrap(ByteBuffer nioBuffer) Methods inherited from class org.apache.mina.core.buffer.SimpleBufferAllocator
allocateNioBuffer, dispose
-
Constructor Details
-
AcceptAllBufferAllocator
public AcceptAllBufferAllocator()
-
-
Method Details
-
allocate
public org.apache.mina.core.buffer.IoBuffer allocate(int capacity, boolean direct) - Specified by:
allocatein interfaceorg.apache.mina.core.buffer.IoBufferAllocator- Overrides:
allocatein classorg.apache.mina.core.buffer.SimpleBufferAllocator
-
wrap
- Specified by:
wrapin interfaceorg.apache.mina.core.buffer.IoBufferAllocator- Overrides:
wrapin classorg.apache.mina.core.buffer.SimpleBufferAllocator
-