diff options
author | Eike Stepper | 2006-10-27 18:19:36 +0000 |
---|---|---|
committer | Eike Stepper | 2006-10-27 18:19:36 +0000 |
commit | 973147137a23cfb368e0d387b9513fdae4ef46b4 (patch) | |
tree | dadc84cc98b59b68de65182d5daff2c06a809ceb /plugins/org.eclipse.net4j/src/org/eclipse/net4j/transport/util/BufferOutputStream.java | |
parent | 1ef01a19c081aad82ebe8322fde584ae90ff59ab (diff) | |
download | cdo-973147137a23cfb368e0d387b9513fdae4ef46b4.tar.gz cdo-973147137a23cfb368e0d387b9513fdae4ef46b4.tar.xz cdo-973147137a23cfb368e0d387b9513fdae4ef46b4.zip |
Added registries for connectors and channels
Diffstat (limited to 'plugins/org.eclipse.net4j/src/org/eclipse/net4j/transport/util/BufferOutputStream.java')
-rw-r--r-- | plugins/org.eclipse.net4j/src/org/eclipse/net4j/transport/util/BufferOutputStream.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/org.eclipse.net4j/src/org/eclipse/net4j/transport/util/BufferOutputStream.java b/plugins/org.eclipse.net4j/src/org/eclipse/net4j/transport/util/BufferOutputStream.java index 5de5d85789..9beebff3a6 100644 --- a/plugins/org.eclipse.net4j/src/org/eclipse/net4j/transport/util/BufferOutputStream.java +++ b/plugins/org.eclipse.net4j/src/org/eclipse/net4j/transport/util/BufferOutputStream.java @@ -39,10 +39,10 @@ public class BufferOutputStream extends OutputStream private Buffer currentBuffer; - private short channelID; + private short channelIndex; public BufferOutputStream(BufferHandler bufferHandler, BufferProvider bufferProvider, - short channelID) + short channelIndex) { if (bufferHandler == null) { @@ -56,12 +56,12 @@ public class BufferOutputStream extends OutputStream this.bufferHandler = bufferHandler; this.bufferProvider = bufferProvider; - this.channelID = channelID; + this.channelIndex = channelIndex; } - public BufferOutputStream(BufferHandler bufferHandler, short channelID) + public BufferOutputStream(BufferHandler bufferHandler, short channelIndex) { - this(bufferHandler, extractBufferProvider(bufferHandler), channelID); + this(bufferHandler, extractBufferProvider(bufferHandler), channelIndex); } @Override @@ -130,7 +130,7 @@ public class BufferOutputStream extends OutputStream if (currentBuffer == null) { currentBuffer = bufferProvider.provideBuffer(); - currentBuffer.startPutting(channelID); + currentBuffer.startPutting(channelIndex); } } |