org.pulsar.media
Interface IMediaProtocol

All Known Implementing Classes:
AbstractMediaProtocol, FileProtocol, HttpProtocol, PipeProtocol, PulsarDemandMediaProtocol, PulsarLiveMediaProtocol, RtpProtocol, ShoutCastProtocol

public interface IMediaProtocol


Field Summary
static int SEEK_CUR
           
static int SEEK_END
           
static int SEEK_SET
           
 
Method Summary
 void close()
           
 java.lang.Exception getException()
           
 java.lang.String getUrl()
           
 void open(java.lang.String url)
           
 int read(java.nio.ByteBuffer readBuffer, int size)
           
 long seek(long offset, int whence)
           
 int write(java.nio.ByteBuffer buffer, int size)
           
 

Field Detail

SEEK_SET

static final int SEEK_SET
See Also:
Constant Field Values

SEEK_CUR

static final int SEEK_CUR
See Also:
Constant Field Values

SEEK_END

static final int SEEK_END
See Also:
Constant Field Values
Method Detail

open

void open(java.lang.String url)

getUrl

java.lang.String getUrl()

read

int read(java.nio.ByteBuffer readBuffer,
         int size)

close

void close()

seek

long seek(long offset,
          int whence)

write

int write(java.nio.ByteBuffer buffer,
          int size)

getException

java.lang.Exception getException()