|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMUM.repository.proxy.SimpleProxyVideoOutProtocolUnit
This class implements a simple proxy video protocol unit.
Field Summary | |
(package private) java.io.ObjectInputStream |
inps
The object input stream |
(package private) java.io.ObjectOutputStream |
outs
The object output stream |
Constructor Summary | |
SimpleProxyVideoOutProtocolUnit()
Creates new SimpleproxyVideoProtocolUnitBase |
Method Summary | |
javax.media.protocol.DataSource |
beginTx()
Returns the DataSource to initialize the player |
javax.media.Time |
getTime()
Requests the time of the presentation, returns null in case of error, and an explanation to the proxy frame. |
void |
init(ComponentInfo nextComponent,
java.io.PrintStream out)
This method initializes the protocol unit and if it was successfull it returns the component info of the socket where the proxy is waiting for commands otherwise it returns a null pointer |
javax.media.rtp.SessionAddress |
joinTx(javax.media.rtp.SessionAddress proxySessionAddress,
IMetadata presentationMetadata)
Requests the beginning of the session and returns the session address of the server, null in case there was any problem |
boolean |
leaveTx()
Requests the leaving of the session |
void |
setTime(javax.media.Time t)
Requests the setting of the presentation at a certain time |
void |
startTx()
Starts the transmission |
void |
stopTx()
Request the stop of the streaming |
void |
update(javax.media.rtp.event.ReceiveStreamEvent evt)
ReceiveStreamListener |
void |
update(javax.media.rtp.event.SessionEvent evt)
SessionListener. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
java.io.ObjectInputStream inps
java.io.ObjectOutputStream outs
Constructor Detail |
public SimpleProxyVideoOutProtocolUnit()
Method Detail |
public void init(ComponentInfo nextComponent, java.io.PrintStream out) throws InitializationException
IProxyOutProtocolUnit
init
in interface IProxyOutProtocolUnit
out
- an output stream for debug messages
InitializationException
public javax.media.protocol.DataSource beginTx()
beginTx
in interface IProxyOutProtocolUnit
public void stopTx()
stopTx
in interface IProxyOutProtocolUnit
public javax.media.Time getTime()
getTime
in interface IProxyOutProtocolUnit
public void setTime(javax.media.Time t)
setTime
in interface IProxyOutProtocolUnit
public javax.media.rtp.SessionAddress joinTx(javax.media.rtp.SessionAddress proxySessionAddress, IMetadata presentationMetadata)
joinTx
in interface IProxyOutProtocolUnit
public boolean leaveTx()
leaveTx
in interface IProxyOutProtocolUnit
public void startTx()
startTx
in interface IProxyOutProtocolUnit
public void update(javax.media.rtp.event.ReceiveStreamEvent evt)
update
in interface javax.media.rtp.ReceiveStreamListener
public void update(javax.media.rtp.event.SessionEvent evt)
update
in interface javax.media.rtp.SessionListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |