Skip to main content

DSMCC example

1 reply [Last post]
anujverma000
Offline
Joined: 2007-07-30
Points: 0

I tried to work with DSMCC protocol. But I am unable to parse the DSMCCObject.

the code is like this :

public class DSMCCExample implements Xlet,AsynchronousLoadingEventListener
{
private void getResources() {
try {
dsmcc = new DSMCCObject(".");
dsmcc.asynchronousLoad(this);
}
catch (InvalidPathNameException e)
{
e.printStackTrace();
}
}

public void receiveEvent(AsynchronousLoadingEvent e) {

if (e instanceof SuccessEvent)
{
DSMCCObject aFile=(DSMCCObject)e.getSource();
------
------
------
------
}
}
}

i tried to parse this aFile object to the file available in the current working directory.
Can anyone help me out.
Thanks in advance.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
anujverma000
Offline
Joined: 2007-07-30
Points: 0

Important link to undertand DSM-CC protocol

http://www.chiariglione.org/mpeg/tutorials/papers/dsmcc/dsmcc.htm