[Red5commits] [1590] applied big documentation patch by Michael Klishin
jbauch
luke at codegent.com
Wed Jan 24 11:01:12 EST 2007
applied big documentation patch by Michael Klishin
Timestamp: 12/18/06 13:08:00 EST (1 month ago)
Change: 1590
Author: jbauch
Files (see diff or trac for details):
java/server/trunk/conf/red5-common.xml
java/server/trunk/src/org/red5/server/AttributeStore.java
java/server/trunk/src/org/red5/server/BaseConnection.java
java/server/trunk/src/org/red5/server/BasicScope.java
java/server/trunk/src/org/red5/server/Client.java
java/server/trunk/src/org/red5/server/ClientRegistry.java
java/server/trunk/src/org/red5/server/Context.java
java/server/trunk/src/org/red5/server/ContextLoader.java
java/server/trunk/src/org/red5/server/CoreHandler.java
java/server/trunk/src/org/red5/server/DebugPooledByteBufferAllocator.java
java/server/trunk/src/org/red5/server/GlobalScope.java
java/server/trunk/src/org/red5/server/JettyLoader.java
java/server/trunk/src/org/red5/server/MappingStrategy.java
java/server/trunk/src/org/red5/server/PersistableAttributeStore.java
java/server/trunk/src/org/red5/server/Scope.java
java/server/trunk/src/org/red5/server/ScopeResolver.java
java/server/trunk/src/org/red5/server/Server.java
java/server/trunk/src/org/red5/server/Standalone.java
java/server/trunk/src/org/red5/server/TomcatLoader.java
java/server/trunk/src/org/red5/server/WebScope.java
java/server/trunk/src/org/red5/server/adapter/ApplicationAdapter.java
java/server/trunk/src/org/red5/server/api/IBandwidthConfigure.java
java/server/trunk/src/org/red5/server/api/IConnection.java
java/server/trunk/src/org/red5/server/api/IScope.java
java/server/trunk/src/org/red5/server/api/IScopeHandler.java
java/server/trunk/src/org/red5/server/api/IServer.java
java/server/trunk/src/org/red5/server/api/cache/ICacheStore.java
java/server/trunk/src/org/red5/server/api/persistence/IPersistable.java
java/server/trunk/src/org/red5/server/api/persistence/IPersistenceStore.java
java/server/trunk/src/org/red5/server/api/service/IPendingServiceCall.java
java/server/trunk/src/org/red5/server/api/so/ISharedObjectBase.java
java/server/trunk/src/org/red5/server/api/stream/IStreamAwareScopeHandler.java
java/server/trunk/src/org/red5/server/api/stream/IStreamFilenameGenerator.java
java/server/trunk/src/org/red5/server/api/stream/IStreamService.java
java/server/trunk/src/org/red5/server/api/stream/IVideoStreamCodec.java
java/server/trunk/src/org/red5/server/api/stream/support/SimpleBandwidthConfigure.java
java/server/trunk/src/org/red5/server/jetty/Red5WebPropertiesConfiguration.java
java/server/trunk/src/org/red5/server/net/remoting/RemotingClient.java
java/server/trunk/src/org/red5/server/net/rtmpt/RTMPTServlet.java
java/server/trunk/src/org/red5/server/net/rtmpt/TomcatRTMPTLoader.java
java/server/trunk/src/org/red5/server/net/servlet/ServletUtils.java
java/server/trunk/src/org/red5/server/pooling/WorkerThread.java
java/server/trunk/src/org/red5/server/script/jruby/JRubyScriptUtils.java
java/server/trunk/src/org/red5/server/script/rhino/RhinoScriptUtils.java
java/server/trunk/src/org/red5/server/service/ServiceUtils.java
java/server/trunk/src/org/red5/server/stream/BalancedFlowControlService.java
java/server/trunk/src/org/red5/server/stream/IProviderService.java
java/server/trunk/test/org/red5/server/io/test/FLVServiceImplTest.java
Trac: http://mirror1.cvsdude.com/trac/osflash/red5/changeset/1590
Index: /java/server/trunk/test/org/red5/server/io/test/FLVServiceImplTest.java
===================================================================
--- /java/server/trunk/test/org/red5/server/io/test/FLVServiceImplTest.java (revision 1565)
+++ /java/server/trunk/test/org/red5/server/io/test/FLVServiceImplTest.java (revision 1590)
@@ -74,7 +74,8 @@
/**
* Tests: getFlv(String s)
- * @return void
- * @throws IOException
- * @throws FileNotFoundException
+ * @param tag
+ * @return void
+ * @throws IOException
+ * @throws FileNotFoundException
*/
/*
@@ -150,7 +151,9 @@
/**
* Tests: getFLVFileInputStream(FileInputStream fis)
- * @return void
- * @throws IOException
- * @throws FileNotFoundException
+ * @param writer
+ * @param reader
+ * @return void
+ * @throws IOException
+ * @throws FileNotFoundException
*/
/*
Index: /java/server/trunk/conf/red5-common.xml
===================================================================
--- /java/server/trunk/conf/red5-common.xml (revision 1578)
+++ /java/server/trunk/conf/red5-common.xml (revision 1590)
@@ -4,14 +4,27 @@
<!-- This context is shared between all child contexts. -->
- <bean id="red5.server" class="org.red5.server.Server"/>
- <bean id="serializer" class="org.red5.io.object.Serializer"/>
- <bean id="deserializer" class="org.red5.io.object.Deserializer"/>
- <bean id="statusObjectService" class="org.red5.server.net.rtmp.status.StatusObjectService"
+ <!-- Server bean -->
+ <bean id="red5.server" class="org.red5.server.Server"/>
+
+ <!-- Serializes objects to AMF binary -->
+ <bean id="serializer" class="org.red5.io.object.Serializer"/>
+
+ <!-- Deserializes objects from AMF binary -->
+ <bean id="deserializer" class="org.red5.io.object.Deserializer"/>
+
+ <!-- Deals with StatusObjects representing statuses like FMS NetConnection.Connect.Success status -->
+ <bean id="statusObjectService" class="org.red5.server.net.rtmp.status.StatusObjectService"
autowire="byType" init-method="initialize"/>
- <bean id="rtmpCodecFactory" class="org.red5.server.net.rtmp.codec.RTMPMinaCodecFactory"
+
+ <!-- RTMP codec factory -->
+ <bean id="rtmpCodecFactory" class="org.red5.server.net.rtmp.codec.RTMPMinaCodecFactory"
autowire="byType" init-method="init"/>
- <bean id="remotingCodecFactory" class="org.red5.server.net.remoting.codec.RemotingCodecFactory"
+
+ <!-- Remoting calls codec factory -->
+ <bean id="remotingCodecFactory" class="org.red5.server.net.remoting.codec.RemotingCodecFactory"
autowire="byType" init-method="init"/>
- <bean id="videoCodecFactory" class="org.red5.server.stream.VideoCodecFactory">
+
+ <!-- Video codec factory -->
+ <bean id="videoCodecFactory" class="org.red5.server.stream.VideoCodecFactory">
<property name="codecs">
<list>
@@ -23,5 +36,7 @@
</property>
</bean>
- <bean id="streamableFileFactory" class="org.red5.io.StreamableFileFactory">
+
+ <!-- Streamable file factory -->
+ <bean id="streamableFileFactory" class="org.red5.io.StreamableFileFactory">
<property name="services">
<list>
@@ -33,5 +48,6 @@
</property>
</bean>
- <!-- handles creation / lookup of shared objects -->
+
+ <!-- Handles creation / lookup of shared objects -->
<bean id="sharedObjectService" class="org.red5.server.so.SharedObjectService">
<property name="persistenceClassName">
@@ -39,16 +55,28 @@
</property>
</bean>
- <!-- high level access to streams -->
+
+ <!-- High level access to streams -->
<bean id="streamService" class="org.red5.server.stream.StreamService"/>
- <bean id="providerService" class="org.red5.server.stream.ProviderService"/>
- <bean id="consumerService" class="org.red5.server.stream.ConsumerService"/>
- <bean id="FlowControlService" class="org.red5.server.stream.BalancedFlowControlService"
+
+ <!-- Hight level access to broadcasted streams -->
+ <bean id="providerService" class="org.red5.server.stream.ProviderService"/>
+
+ <!-- Provides output to consumers -->
+ <bean id="consumerService" class="org.red5.server.stream.ConsumerService"/>
+
+ <!-- Balances flow control -->
+ <bean id="FlowControlService" class="org.red5.server.stream.BalancedFlowControlService"
init-method="init">
<property name="interval" value="10"/>
<property name="defaultCapacity" value="102400"/>
</bean>
- <bean id="schedulingService" class="org.red5.server.scheduling.QuartzSchedulingService"/>
- <bean id="threadFactory" class="org.red5.server.pooling.ThreadObjectFactory"/>
- <!-- threadpool settings for the remoting clients -->
+
+ <!-- Scheduling service -->
+ <bean id="schedulingService" class="org.red5.server.scheduling.QuartzSchedulingService"/>
+
+ <!-- Thread factory -->
+ <bean id="threadFactory" class="org.red5.server.pooling.ThreadObjectFactory"/>
+
+ <!-- Threadpool settings for the remoting clients -->
<bean id="remotingPool" class="org.red5.server.pooling.ThreadPool">
<constructor-arg>
@@ -121,5 +149,8 @@
-->
- <!-- Use injection to set the cache impl to be used with flvs -->
+ <!--
+ Represents FLV files
+ Use injection to set the cache impl to be used with flvs
+ -->
<bean id="flv.impl" class="org.red5.io.flv.impl.FLV">
<property name="cache">
Index: /java/server/trunk/src/org/red5/server/adapter/ApplicationAdapter.java
===================================================================
--- /java/server/trunk/src/org/red5/server/adapter/ApplicationAdapter.java (revision 1553)
+++ /java/server/trunk/src/org/red5/server/adapter/ApplicationAdapter.java (revision 1590)
@@ -330,4 +330,5 @@
* @return <code>true</code> if scope can be started, <code>false</code>
* otherwise
+ * @param app
*/
public boolean appStart(IScope app) {
@@ -527,4 +528,6 @@
* @param conn
* Disconnected connection object
+ * @param room
+ * @param client
*/
public void roomLeave(IClient client, IScope room) {
Index: /java/server/trunk/src/org/red5/server/ClientRegistry.java
===================================================================
--- /java/server/trunk/src/org/red5/server/ClientRegistry.java (revision 1406)
+++ /java/server/trunk/src/org/red5/server/ClientRegistry.java (revision 1590)
@@ -29,18 +29,43 @@
import org.red5.server.exception.ClientRejectedException;
+/**
+ * Registry for clients. Associates client with it's id so it's possible to get client by id
+ * from whenever we need
+ */
public class ClientRegistry implements IClientRegistry {
-
+ /**
+ * Clients map
+ */
private HashMap<String, IClient> clients = new HashMap<String, IClient>();
-
+ /**
+ * Next client id
+ */
private int nextId = 0;
+ /**
+ * Return next client id
+ * @return Next client id
+ */
public synchronized String nextId() {
return "" + nextId++;
}
+ /**
+ * Check whether registry has client with given id
+ *
+ * @param id Client id
+ * @return true if client with given id was register with this registry, false otherwise
+ */
public boolean hasClient(String id) {
return clients.containsKey(id);
}
+ /**
+ * Return client by id
+ *
+ * @param id Client id
+ * @return Client object associated with given id
+ * @throws ClientNotFoundException
+ */
public IClient lookupClient(String id) throws ClientNotFoundException {
if (!hasClient(id)) {
@@ -51,4 +76,12 @@
}
+ /**
+ * Return client from next id with given params
+ *
+ * @param params Client params
+ * @return Client object
+ * @throws ClientNotFoundException
+ * @throws ClientRejectedException
+ */
public IClient newClient(Object[] params) throws ClientNotFoundException,
ClientRejectedException {
@@ -58,12 +91,24 @@
}
+ /**
+ * Add client to registry
+ * @param client Client to add
+ */
protected void addClient(IClient client) {
clients.put(client.getId(), client);
}
+ /**
+ * Removes client from registry
+ * @param client Client to remove
+ */
protected void removeClient(IClient client) {
clients.remove(client.getId());
}
+ /**
+ * Return collection of clients
+ * @return Collection of clients
+ */
protected Collection<IClient> getClients() {
return Collections.unmodifiableCollection(clients.values());
Index: /java/server/trunk/src/org/red5/server/DebugPooledByteBufferAllocator.java
===================================================================
--- /java/server/trunk/src/org/red5/server/DebugPooledByteBufferAllocator.java (revision 1406)
+++ /java/server/trunk/src/org/red5/server/DebugPooledByteBufferAllocator.java (revision 1590)
@@ -55,8 +55,12 @@
*/
public class DebugPooledByteBufferAllocator implements ByteBufferAllocator {
-
+ /**
+ * Logger
+ */
protected static Log log = LogFactory
.getLog(DebugPooledByteBufferAllocator.class.getName());
-
+ /**
+ *
+ */
protected static ThreadLocal local = new ThreadLocal();
@@ -72,22 +76,43 @@
protected boolean saveStacks = false;
+ /**
+ *
+ * @param section
+ */
public static void setCodeSection(String section) {
local.set(section);
}
+ /**
+ *
+ * @return
+ */
public static String getCodeSection() {
return (local.get() == null) ? "unknown" : (String) local.get();
}
+ /**
+ *
+ */
private static final int MINIMUM_CAPACITY = 1;
-
+ /**
+ *
+ */
private static int threadId = 0;
-
+ /**
+ *
+ */
private int count = 0;
-
+ /**
+ *
+ */
private final Expirer expirer;
-
+ /**
+ *
+ */
private final ExpiringStack containerStack = new ExpiringStack();
-
+ /**
+ *
+ */
private final ExpiringStack[] heapBufferStacks = new ExpiringStack[] {
new ExpiringStack(), new ExpiringStack(), new ExpiringStack(),
@@ -102,5 +127,7 @@
new ExpiringStack(), new ExpiringStack(), new ExpiringStack(),
new ExpiringStack(), new ExpiringStack(), };
-
+ /**
+ *
+ */
private final ExpiringStack[] directBufferStacks = new ExpiringStack[] {
new ExpiringStack(), new ExpiringStack(), new ExpiringStack(),
@@ -115,7 +142,11 @@
new ExpiringStack(), new ExpiringStack(), new ExpiringStack(),
new ExpiringStack(), new ExpiringStack(), };
-
+ /**
+ * Timeout
+ */
private int timeout;
-
+ /**
+ *
+ */
private boolean disposed;
@@ -127,4 +158,8 @@
}
+ /**
+ *
+ * @param saveStacks
+ */
public DebugPooledByteBufferAllocator(boolean saveStacks) {
this(60, saveStacks);
@@ -133,9 +168,15 @@
/**
* Creates a new instance with the specified <tt>timeout</tt>.
- */
+ * @param timeout
+ */
public DebugPooledByteBufferAllocator(int timeout) {
this(timeout, false);
}
+ /**
+ *
+ * @param timeout
+ * @param saveStacks
+ */
public DebugPooledByteBufferAllocator(int timeout, boolean saveStacks) {
this.saveStacks = saveStacks;
@@ -175,6 +216,7 @@
/**
- * Returns the timeout value of this allocator in seconds.
- */
+ * Returns the timeout value of this allocator in seconds.
+ * @return
+ */
public int getTimeout() {
return timeout;
@@ -182,6 +224,7 @@
/**
- * Returns the timeout value of this allocator in milliseconds.
- */
+ * Returns the timeout value of this allocator in milliseconds.
+ * @return
+ */
public long getTimeoutMillis() {
return timeout * 1000L;
@@ -206,4 +249,10 @@
}
+ /**
+ *
+ * @param capacity
+ * @param direct
+ * @return
+ */
public ByteBuffer allocate(int capacity, boolean direct) {
ensureNotDisposed();
@@ -214,4 +263,8 @@
}
+ /**
+ *
+ * @return
+ */
private PooledByteBuffer allocateContainer() {
PooledByteBuffer buf;
@@ -226,4 +279,7 @@
}
+ /**
+ *
+ */
public void resetStacks() {
synchronized (stacks) {
@@ -232,4 +288,7 @@
}
+ /**
+ *
+ */
public void printStacks() {
synchronized (stacks) {
@@ -246,4 +305,10 @@
}
+ /**
+ *
+ * @param capacity
+ * @param direct
+ * @return
+ */
private UnexpandableByteBuffer allocate0(int capacity, boolean direct) {
count++;
@@ -278,4 +343,8 @@
}
+ /**
+ *
+ * @param buf
+ */
private void release0(UnexpandableByteBuffer buf) {
@@ -299,5 +368,10 @@
}
- public ByteBuffer wrap(java.nio.ByteBuffer nioBuffer) {
+ /**
+ *
+ * @param nioBuffer
+ * @return
+ */
+ public ByteBuffer wrap(java.nio.ByteBuffer nioBuffer) {
ensureNotDisposed();
PooledByteBuffer buf = allocateContainer();
@@ -308,4 +382,10 @@
}
+ /**
+ *
+ * @param bufferStacks
+ * @param size
+ * @return
+ */
private int getBufferStackIndex(ExpiringStack[] bufferStacks, int size) {
int targetSize = MINIMUM_CAPACITY;
@@ -323,4 +403,7 @@
}
+ /**
+ *
+ */
private void ensureNotDisposed() {
if (disposed) {
@@ -330,7 +413,16 @@
}
+ /**
+ *
+ */
private class Expirer extends Thread {
- private boolean timeToStop;
-
+ /**
+ *
+ */
+ private boolean timeToStop;
+
+ /**
+ *
+ */
public Expirer() {
super("PooledByteBufferExpirer-" + threadId++);
@@ -338,4 +430,7 @@
}
+ /**
+ *
+ */
public void shutdown() {
timeToStop = true;
@@ -349,4 +444,7 @@
}
+ /**
+ *
+ */
@Override
public void run() {
@@ -387,14 +485,32 @@
}
+ /**
+ *
+ */
private class PooledByteBuffer extends ByteBuffer {
- private UnexpandableByteBuffer buf;
-
+ /**
+ *
+ */
+ private UnexpandableByteBuffer buf;
+ /**
+ *
+ */
private int refCount = 1;
-
+ /**
+ *
+ */
private boolean autoExpand;
+ /**
+ *
+ */
protected PooledByteBuffer() {
}
+ /**
+ *
+ * @param buf
+ * @param clear
+ */
public synchronized void init(UnexpandableByteBuffer buf, boolean clear) {
this.buf = buf;
@@ -407,4 +523,7 @@
}
+ /**
+ *
+ */
@Override
public synchronized void acquire() {
@@ -416,4 +535,7 @@
}
+ /**
+ *
+ */
@Override
public void release() {
@@ -443,4 +565,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public java.nio.ByteBuffer buf() {
@@ -448,4 +574,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public boolean isDirect() {
@@ -453,4 +583,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public boolean isReadOnly() {
@@ -458,4 +592,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public boolean isAutoExpand() {
@@ -463,4 +601,9 @@
}
+ /**
+ *
+ * @param autoExpand
+ * @return
+ */
@Override
public ByteBuffer setAutoExpand(boolean autoExpand) {
@@ -469,4 +612,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public boolean isPooled() {
@@ -474,4 +621,8 @@
}
+ /**
+ *
+ * @param pooled
+ */
@Override
public void setPooled(boolean pooled) {
@@ -479,4 +630,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public int capacity() {
@@ -484,4 +639,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public int position() {
@@ -489,4 +648,9 @@
}
+ /**
+ *
+ * @param newPosition
+ * @return
+ */
@Override
public ByteBuffer position(int newPosition) {
@@ -496,4 +660,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public int limit() {
@@ -501,4 +669,9 @@
}
+ /**
+ *
+ * @param newLimit
+ * @return
+ */
@Override
public ByteBuffer limit(int newLimit) {
@@ -508,4 +681,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public ByteBuffer mark() {
@@ -514,4 +691,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public ByteBuffer reset() {
@@ -520,4 +701,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public ByteBuffer clear() {
@@ -526,4 +711,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public ByteBuffer flip() {
@@ -532,4 +721,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public ByteBuffer rewind() {
@@ -538,4 +731,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public int remaining() {
@@ -543,4 +740,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public ByteBuffer duplicate() {
@@ -551,4 +752,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public ByteBuffer slice() {
@@ -559,4 +764,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public ByteBuffer asReadOnlyBuffer() {
@@ -567,4 +776,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public byte get() {
@@ -572,4 +785,9 @@
}
+ /**
+ *
+ * @param b
+ * @return
+ */
@Override
public ByteBuffer put(byte b) {
@@ -579,4 +797,9 @@
}
+ /**
+ *
+ * @param index
+ * @return
+ */
@Override
public byte get(int index) {
@@ -584,4 +807,10 @@
}
+ /**
+ *
+ * @param index
+ * @param b
+ * @return
+ */
@Override
public ByteBuffer put(int index, byte b) {
@@ -591,4 +820,11 @@
}
+ /**
+ *
+ * @param dst
+ * @param offset
+ * @param length
+ * @return
+ */
@Override
public ByteBuffer get(byte[] dst, int offset, int length) {
@@ -597,4 +833,9 @@
}
+ /**
+ *
+ * @param src
+ * @return
+ */
@Override
public ByteBuffer put(java.nio.ByteBuffer src) {
@@ -604,4 +845,11 @@
}
+ /**
+ *
+ * @param src
+ * @param offset
+ * @param length
+ * @return
+ */
@Override
public ByteBuffer put(byte[] src, int offset, int length) {
@@ -611,4 +859,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public ByteBuffer compact() {
@@ -617,8 +869,17 @@
}
+ /**
+ *
+ * @param that
+ * @return
+ */
public int compareTo(ByteBuffer that) {
return this.buf.buf().compareTo(that.buf());
}
+ /**
+ *
+ * @return
+ */
@Override
public ByteOrder order() {
@@ -626,4 +887,9 @@
}
+ /**
+ *
+ * @param bo
+ * @return
+ */
@Override
public ByteBuffer order(ByteOrder bo) {
@@ -632,4 +898,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public char getChar() {
@@ -637,4 +907,9 @@
}
+ /**
+ *
+ * @param value
+ * @return
+ */
@Override
public ByteBuffer putChar(char value) {
@@ -644,4 +919,9 @@
}
+ /**
+ *
+ * @param index
+ * @return
+ */
@Override
public char getChar(int index) {
@@ -649,4 +929,10 @@
}
+ /**
+ *
+ * @param index
+ * @param value
+ * @return
+ */
@Override
public ByteBuffer putChar(int index, char value) {
@@ -656,4 +942,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public CharBuffer asCharBuffer() {
@@ -661,4 +951,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public short getShort() {
@@ -666,4 +960,9 @@
}
+ /**
+ *
+ * @param value
+ * @return
+ */
@Override
public ByteBuffer putShort(short value) {
@@ -673,4 +972,9 @@
}
+ /**
+ *
+ * @param index
+ * @return
+ */
@Override
public short getShort(int index) {
@@ -678,4 +982,10 @@
}
+ /**
+ *
+ * @param index
+ * @param value
+ * @return
+ */
@Override
public ByteBuffer putShort(int index, short value) {
@@ -685,4 +995,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public ShortBuffer asShortBuffer() {
@@ -690,4 +1004,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public int getInt() {
@@ -695,4 +1013,9 @@
}
+ /**
+ *
+ * @param value
+ * @return
+ */
@Override
public ByteBuffer putInt(int value) {
@@ -702,4 +1025,9 @@
}
+ /**
+ *
+ * @param index
+ * @return
+ */
@Override
public int getInt(int index) {
@@ -707,4 +1035,10 @@
}
+ /**
+ *
+ * @param index
+ * @param value
+ * @return
+ */
@Override
public ByteBuffer putInt(int index, int value) {
@@ -714,4 +1048,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public IntBuffer asIntBuffer() {
@@ -719,4 +1057,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public long getLong() {
@@ -724,4 +1066,9 @@
}
+ /**
+ *
+ * @param value
+ * @return
+ */
@Override
public ByteBuffer putLong(long value) {
@@ -731,4 +1078,9 @@
}
+ /**
+ *
+ * @param index
+ * @return
+ */
@Override
public long getLong(int index) {
@@ -736,4 +1088,10 @@
}
+ /**
+ *
+ * @param index
+ * @param value
+ * @return
+ */
@Override
public ByteBuffer putLong(int index, long value) {
@@ -743,4 +1101,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public LongBuffer asLongBuffer() {
@@ -748,4 +1110,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public float getFloat() {
@@ -753,4 +1119,9 @@
}
+ /**
+ *
+ * @param value
+ * @return
+ */
@Override
public ByteBuffer putFloat(float value) {
@@ -760,4 +1131,9 @@
}
+ /**
+ *
+ * @param index
+ * @return
+ */
@Override
public float getFloat(int index) {
@@ -765,4 +1141,10 @@
}
+ /**
+ *
+ * @param index
+ * @param value
+ * @return
+ */
@Override
public ByteBuffer putFloat(int index, float value) {
@@ -772,4 +1154,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public FloatBuffer asFloatBuffer() {
@@ -777,4 +1163,8 @@
}
+ /**
+ *
+ * @return
+ */
@Override
public double getDouble() {
@@ -782,4 +1172,9 @@
}
+ /**
+ *
+ * @param value
+ * @return
+ */
@Override
public ByteBuffer putDouble(double value) {
@@ -789,4 +1184,9 @@
}
+ /**
+ *
+ * @param index
+ * @return
+ */
@Override
public double getDouble(int index) {
@@ -794,4 +1194,10 @@
}
+ /**
+ *
+ * @param index
+ * @param value
+ *
Note:
Diffs are chopped if more than 25k.
This is to get past the limit on the mailing list.
More information about the Red5commits
mailing list