home OpenMash Documentations
Class Index Method Index Class Hierarchy

TCL CLASS

DcApplication

Main application class that is responsible for creating everything else.

SUPERCLASSES

RTPApplication

MEMBERS

sds_session_, bcast_agent_, service_mgr_, studio_agent_, ui_

sds_session_

The session for SDS protocol.

bcast_agent_

The VideoAgent responsible for broadcast session.

service_mgr_

The service manager object for managing connections to services.

studio_agent_

The VideoAgent responsible for studio session.

ui_

The DcUI object that encapsulates all the UI components of this application.

METHODS

NewConnection, get_studio_agent, get_bcast_agent, get_sds_session, new_service, get_service_spec, init, init_arguments, init_resources, destroy

NewConnection

DcApplication public NewConnection { service }

This is a callback function for the service manager. It will be called whenever a new connection is made The service will have attributes to it that will indicate which agent object it should go to.

service

the newly connected service object

get_studio_agent

get_bcast_agent

get_sds_session

DcApplication instproc get_studio_agent { }

DcApplication instproc get_bcast_agent { }

DcApplication instproc get_sds_session { }

Return the studio agent, broadcast agent and SDS session respectively.

new_service

DcApplication instproc new_service { addr port }

Call the service manager to create a new service for $addr/$port. The new service is returned.

get_service_spec

DcApplication instproc get_service_spec { }

Ask the service manager to return textual information about the current socket.

init

DcApplication instproc init { framePath argv }

init_arguments

DcApplication instproc init_arguments { options }

init_resources

DcApplication instproc init_resources { options }

destroy

DcApplication instproc destroy { }

INHERITED METHODS

run_resource_dialog, check_rtp_sdes, check_hostspec, run_session_dialog, search_font, init_local, user_hook, instance, name, class, toplevel

FILENAME

tcl/dc/dc/application-dc.tcl


Generated on Mon Apr 12 04:04:23 PDT 2004