KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > media > engine > MediaPublisherMBean


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.media.engine;
8
9 /**
10  * MBean interface.
11  */

12 public interface MediaPublisherMBean
13 {
14
15    /**
16     * Returns the context.
17     * @return String
18     */

19    java.lang.String JavaDoc getContext();
20
21    /**
22     * Returns the fileName.
23     * @return String
24     */

25    java.lang.String JavaDoc getFileName();
26
27    /**
28     * Returns the host.
29     * @return String
30     */

31    java.lang.String JavaDoc getHost();
32
33    /**
34     * Returns the port.
35     * @return int
36     */

37    int getPort();
38
39    /**
40     * Sets the context.
41     * @param context The context to set
42     */

43    void setContext(java.lang.String JavaDoc context);
44
45    /**
46     * Sets the fileName.
47     * @param fileName The fileName to set
48     */

49    void setFileName(java.lang.String JavaDoc fileName);
50
51    /**
52     * Sets the host.
53     * @param host The host to set
54     */

55    void setHost(java.lang.String JavaDoc host);
56
57    /**
58     * Sets the port.
59     * @param port The port to set
60     */

61    void setPort(int port);
62
63    javax.management.ObjectName JavaDoc getName();
64
65    void setName(javax.management.ObjectName JavaDoc name);
66
67    /**
68     * Publishes the processed media using a the specified protocol server
69     */

70    void publish() throws java.lang.Exception JavaDoc;
71
72    /**
73     * Stops publication of the current media
74     */

75    void stop();
76
77    /**
78     * Stops publication of the current media
79     */

80    void addPluginGraph(org.jboss.media.engine.MediaPluginGraph pg);
81
82 }
83
Popular Tags