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 Details

    • AcceptAllBufferAllocator

      public AcceptAllBufferAllocator()
  • Method Details

    • allocate

      public org.apache.mina.core.buffer.IoBuffer allocate(int capacity, boolean direct)
      Specified by:
      allocate in interface org.apache.mina.core.buffer.IoBufferAllocator
      Overrides:
      allocate in class org.apache.mina.core.buffer.SimpleBufferAllocator
    • wrap

      public org.apache.mina.core.buffer.IoBuffer wrap(ByteBuffer nioBuffer)
      Specified by:
      wrap in interface org.apache.mina.core.buffer.IoBufferAllocator
      Overrides:
      wrap in class org.apache.mina.core.buffer.SimpleBufferAllocator