KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > pept > transport > ByteBufferPool


1 /*
2  * @(#)ByteBufferPool.java 1.4 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.corba.se.pept.transport;
9
10 import java.nio.ByteBuffer JavaDoc;
11
12 /**
13  * @author Charlie Hunt
14  */

15 public interface ByteBufferPool
16 {
17     public ByteBuffer JavaDoc getByteBuffer(int theSize);
18     public void releaseByteBuffer(ByteBuffer JavaDoc thebb);
19     public int activeCount();
20 }
21
22 // End of file.
23
Popular Tags