com.sun.media.jsdt.impl
Class ChannelConsumerImpl

java.lang.Object
  |
  +--com.sun.media.jsdt.impl.JSDTObject
        |
        +--com.sun.media.jsdt.impl.ChannelConsumerImpl

public class ChannelConsumerImpl
extends JSDTObject
implements com.sun.media.jsdt.ChannelConsumer

JSDT Channel Consumer interface.

Version:
1.5 - 7th January 1999
Author:
Rich Burridge
See Also:
Serialized Form

Field Summary
protected  java.lang.String name
          The name of this channel consumer.
 
Fields inherited from class com.sun.media.jsdt.impl.JSDTObject
giveTime, httpTunnelPort, maxQueueSize, maxThreadPoolSize, pingPeriod, registryAddress, registryPort, registryTime, showMessage, showStack, socketFactoryClass, SSLCipher, timeoutPeriod, TTL, versionString
 
Constructor Summary
ChannelConsumerImpl(java.lang.String name, com.sun.media.jsdt.Client client)
           ChannelConsumerImpl the constructor for the ChannelConsumerImpl class.
 
Method Summary
 void dataReceived(com.sun.media.jsdt.Data data)
           dataReceived is called when data is received for this client on the given channel.
 
Methods inherited from class com.sun.media.jsdt.impl.JSDTObject
error, getConnectionType, setConnectionType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
The name of this channel consumer.
Constructor Detail

ChannelConsumerImpl

public ChannelConsumerImpl(java.lang.String name,
                           com.sun.media.jsdt.Client client)
ChannelConsumerImpl the constructor for the ChannelConsumerImpl class.
Parameters:
name - the name of the channel consumer being constructed.
Method Detail

dataReceived

public void dataReceived(com.sun.media.jsdt.Data data)
dataReceived is called when data is received for this client on the given channel. This interface is used for normal data and for uniformly sequenced data. The data object received is to a copy of the client data which this consumer can do with as they require.
Specified by:
dataReceived in interface com.sun.media.jsdt.ChannelConsumer
Parameters:
data - the data which can be of unlimited size.