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

Method Index

 o addChannel(String, InetAddress)
Adds a new free channel to the ChannelServer
 o addChannel(String, InetAddress, boolean, float, String)
Adds a new channel to the ChannelServer
 o getConnectionDescr(String)
Gets Virtual channel connection descriptor for a named channel
 o invokeService(InetAddress)
The invokeService method creates a new tv service agent object.
 o removeAgent(ControlTV)
Removes a reference to an agent from the ChannelServer
 o removeChannel(String)
Removes a channel

Methods

 o 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.
 o 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
 o 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
 o removeChannel
 public abstract void removeChannel(String name_) throws RemoteException
Removes a channel

Parameters:
name_ - Name of the channel to be removed
 o 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
 o 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