jaugment2.mediaplayer
Class SemiNatRepresentation
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--jaugment2.mediaplayer.SemiNatRepresentation
- public class SemiNatRepresentation
- extends java.rmi.server.UnicastRemoteObject
- implements net.jini.core.event.RemoteEventListener
- See Also:
- Serialized Form
| Fields inherited from class java.rmi.server.UnicastRemoteObject |
csf,
port,
portFactoryParamTypes,
portParamTypes,
serialVersionUID,
ssf |
| Fields inherited from class java.rmi.server.RemoteServer |
log,
logname,
serialVersionUID |
| Fields inherited from class java.rmi.server.RemoteObject |
ref,
serialVersionUID |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
,
clone,
exportObject,
exportObject,
exportObject,
exportObject,
readObject,
reexport,
unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost,
getLog,
setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals,
getRef,
hashCode,
toString,
toStub,
writeObject |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
lrm
private net.jini.lease.LeaseRenewalManager lrm
debug
private static final boolean debug
player
private MediaPlayerIF player
pauseListener
private net.jini.core.event.RemoteEventListener pauseListener
stopListener
private net.jini.core.event.RemoteEventListener stopListener
nextTrackListener
private net.jini.core.event.RemoteEventListener nextTrackListener
lastTrackListener
private net.jini.core.event.RemoteEventListener lastTrackListener
SemiNatRepresentation
public SemiNatRepresentation(MediaPlayerIF p)
throws java.rmi.RemoteException
addProcessor
public void addProcessor(SemiNaturalInputProcessing p)
throws java.rmi.RemoteException
- register at a SemiNaturalInputProcessing
notify
public void notify(net.jini.core.event.RemoteEvent p0)
throws net.jini.core.event.UnknownEventException,
java.rmi.RemoteException
- react to an event from a SemiNaturalInputProcessing
- Specified by:
- notify in interface net.jini.core.event.RemoteEventListener
parseLevel0
private void parseLevel0(SemiNaturalInputProcessing.Word[] w,
int i,
SemiNaturalInputProcessing.SentenceParsedEvent evt)
index
private void index(java.lang.String path)
throws java.lang.Exception
parseLevel1
private void parseLevel1(SemiNaturalInputProcessing.Word[] w,
int i,
SemiNaturalInputProcessing.SentenceParsedEvent evt)
parseLevel2
private void parseLevel2(SemiNaturalInputProcessing.Word[] w,
int i,
java.lang.String query,
int random,
SemiNaturalInputProcessing.SentenceParsedEvent evt)
- Parameters:
random - 0=play if 1 file matches and display choices for <1
1=play a random one from the matches
2=play all matches