org.himinbi.media.protocol.c3d
Class DataSource

java.lang.Object
  |
  +--javax.media.protocol.DataSource
        |
        +--javax.media.protocol.PushBufferDataSource
              |
              +--org.himinbi.media.protocol.c3d.DataSource
All Implemented Interfaces:
javax.media.Controls, javax.media.protocol.Controls, javax.media.Duration

public class DataSource
extends javax.media.protocol.PushBufferDataSource


Field Summary
protected  boolean connected
           
protected  javax.media.Time duration
           
protected  StreamingCanvas3D[] stream
           
 
Fields inherited from interface javax.media.Duration
DURATION_UNBOUNDED, DURATION_UNKNOWN
 
Constructor Summary
DataSource(StreamingCanvas3D stream)
           
 
Method Summary
 void connect()
           
 void disconnect()
           
 java.lang.String getContentType()
           
 java.lang.Object getControl(java.lang.String controlType)
           
 java.lang.Object[] getControls()
           
 javax.media.Time getDuration()
           
 javax.media.protocol.PushBufferStream[] getStreams()
           
 void start()
           
 void stop()
           
 
Methods inherited from class javax.media.protocol.DataSource
getLocator, initCheck, setLocator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connected

protected boolean connected

duration

protected javax.media.Time duration

stream

protected StreamingCanvas3D[] stream
Constructor Detail

DataSource

public DataSource(StreamingCanvas3D stream)
Method Detail

getContentType

public java.lang.String getContentType()
Overrides:
getContentType in class javax.media.protocol.DataSource

connect

public void connect()
             throws java.io.IOException
Overrides:
connect in class javax.media.protocol.DataSource

disconnect

public void disconnect()
Overrides:
disconnect in class javax.media.protocol.DataSource

start

public void start()
           throws java.io.IOException
Overrides:
start in class javax.media.protocol.DataSource

stop

public void stop()
          throws java.io.IOException
Overrides:
stop in class javax.media.protocol.DataSource

getControls

public java.lang.Object[] getControls()
Overrides:
getControls in class javax.media.protocol.DataSource

getControl

public java.lang.Object getControl(java.lang.String controlType)
Overrides:
getControl in class javax.media.protocol.DataSource

getDuration

public javax.media.Time getDuration()
Overrides:
getDuration in class javax.media.protocol.DataSource

getStreams

public javax.media.protocol.PushBufferStream[] getStreams()
Overrides:
getStreams in class javax.media.protocol.PushBufferDataSource