All Packages Class Hierarchy This Package Previous Next Index
Interface calypso.services.tv.InitTVAgent
- public interface InitTVAgent
- extends Remote
Interface definition for remote method of TVinit class implementation.
- Author:
- Olli-Pekka Auvinen / TCM laboratory / HUT
- See Also:
- TVInit
-
addChannel(String, InetAddress)
- Adds a new free channel to the ChannelServer
-
addChannel(String, InetAddress, boolean, float, String)
- Adds a new channel to the ChannelServer
-
getConnectionDescr(String)
- Gets Virtual channel connection descriptor for a named channel
-
invokeService(InetAddress)
- The invokeService method creates a new tv service agent object.
-
removeAgent(ControlTV)
- Removes a reference to an agent from the ChannelServer
-
removeChannel(String)
- Removes a channel
invokeService
public abstract ControlTV invokeService(InetAddress clientIP_) throws RemoteException
- The invokeService method creates a new tv service agent object.
- Parameters:
- clientIP_ - The IP address of the client holding the viewer.
- Returns:
- ControlTV A reference to the new agent instance.
- Throws: RemoteException
- Something wrong with the remote interface access.
addChannel
public abstract void addChannel(String name_,
InetAddress senderIP_,
boolean payChannel_,
float feePerHour_,
String passwd_) throws RemoteException
- Adds a new channel to the ChannelServer
- Parameters:
- name_ - Name of the new channel to be added
- senderIP_ - IP address of the server providing with the new
channel
- payChannel_ -
true
if channel is not free of
charge
addChannel
public abstract void addChannel(String name_,
InetAddress senderIP_) throws RemoteException
- Adds a new free channel to the ChannelServer
- Parameters:
- name_ - Name of the new channel to be added
- senderIP_ - IP address of the server providing with the new
channel
removeChannel
public abstract void removeChannel(String name_) throws RemoteException
- Removes a channel
- Parameters:
- name_ - Name of the channel to be removed
removeAgent
public abstract void removeAgent(ControlTV agent_) throws RemoteException
- Removes a reference to an agent from the ChannelServer
- Parameters:
- agent_ - The agent to be removed
getConnectionDescr
public abstract VCConnectionDescr getConnectionDescr(String channelName_) throws RemoteException
- Gets Virtual channel connection descriptor for a named channel
- Parameters:
- channelName_ - The name of the channel
- Returns:
- VCConnectionDescr describing the connection
All Packages Class Hierarchy This Package Previous Next Index