common
Class GenericSinkImpl
java.lang.Object
common.GenericSinkImpl
- All Implemented Interfaces:
- java.rmi.Remote, Sink, VolumeControl
- public class GenericSinkImpl
- extends java.lang.Object
- implements Sink, VolumeControl, java.rmi.Remote
Fields inherited from interface common.Sink |
STOP |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericSinkImpl
public GenericSinkImpl()
setProxy
public void setProxy(java.rmi.Remote proxy)
record
public void record()
throws java.rmi.RemoteException,
AlreadyRecordingException
- Specified by:
record
in interface Sink
- Throws:
java.rmi.RemoteException
AlreadyRecordingException
stop
public void stop()
throws java.rmi.RemoteException
- Specified by:
stop
in interface Sink
- Throws:
java.rmi.RemoteException
addSource
public void addSource(Source source)
throws IncompatableSourceException
- Specified by:
addSource
in interface Sink
- Throws:
IncompatableSourceException
removeSource
public void removeSource(Source source)
throws java.rmi.RemoteException,
NoSuchSourceException
- Specified by:
removeSource
in interface Sink
- Throws:
java.rmi.RemoteException
NoSuchSourceException
addSinkListener
public net.jini.core.event.EventRegistration addSinkListener(net.jini.core.event.RemoteEventListener listener,
java.rmi.MarshalledObject handback)
- Specified by:
addSinkListener
in interface Sink
removeSinkListener
public void removeSinkListener(net.jini.core.event.RemoteEventListener listener)
- Specified by:
removeSinkListener
in interface Sink
fireNotify
public void fireNotify(int evtType)
setVolume
public void setVolume(int vol)
- Specified by:
setVolume
in interface VolumeControl
getVolume
public int getVolume()
- Specified by:
getVolume
in interface VolumeControl
getMaxVolume
public int getMaxVolume()
- Specified by:
getMaxVolume
in interface VolumeControl