KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > mq > il > uil2 > UILServerILServiceMBean


1 /*
2 * JBoss, Home of Professional Open Source
3 * Copyright 2005, JBoss Inc., and individual contributors as indicated
4 * by the @authors tag. See the copyright.txt in the distribution for a
5 * full listing of individual contributors.
6 *
7 * This is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU Lesser General Public License as
9 * published by the Free Software Foundation; either version 2.1 of
10 * the License, or (at your option) any later version.
11 *
12 * This software is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this software; if not, write to the Free
19 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 */

22 package org.jboss.mq.il.uil2;
23
24 /**
25  * MBean interface.
26  */

27 public interface UILServerILServiceMBean extends org.jboss.mq.il.ServerILJMXServiceMBean
28 {
29
30    /**
31     * Get the UIL server listening port
32     * @return Value of property serverBindPort.
33     */

34    int getServerBindPort();
35
36    /**
37     * Set the UIL server listening port
38     * @param serverBindPort New value of property serverBindPort.
39     */

40    void setServerBindPort(int serverBindPort);
41
42    /**
43     * Get the interface address the UIL2 server bind its listening port on
44     */

45    java.lang.String JavaDoc getBindAddress();
46
47    /**
48     * Set the interface address the UIL2 server bind its listening port on
49     */

50    void setBindAddress(java.lang.String JavaDoc host) throws java.net.UnknownHostException JavaDoc;
51
52    /**
53     * Get the interface address the UIL2 exposed to the client as the server address
54     */

55    java.net.InetAddress JavaDoc getClientAddress();
56
57    /**
58     * Set the interface address the UIL2 exposed to the client as the server address
59     */

60    void setClientAddress(java.net.InetAddress JavaDoc addr);
61
62    /**
63     * Gets the enableTcpNoDelay.
64     * @return Returns a boolean
65     */

66    boolean getEnableTcpNoDelay();
67
68    /**
69     * Sets the enableTcpNoDelay.
70     * @param enableTcpNoDelay The enableTcpNoDelay to set
71     */

72    void setEnableTcpNoDelay(boolean enableTcpNoDelay);
73
74    /**
75     * Gets the buffer size.
76     * @return Returns an int
77     */

78    int getBufferSize();
79
80    /**
81     * Sets the buffer size.
82     * @param size the buffer size
83     */

84    void setBufferSize(int size);
85
86    /**
87     * Gets the chunk size.
88     * @return Returns an int
89     */

90    int getChunkSize();
91
92    /**
93     * Sets the chunk size.
94     * @param size the chunk size
95     */

96    void setChunkSize(int size);
97
98    /**
99     * Gets the socket read timeout.
100     * @return Returns the read timeout in milli-seconds
101     */

102    int getReadTimeout();
103
104    /**
105     * Sets the read time out.
106     * @param timeout The read time out in milli seconds
107     */

108    void setReadTimeout(int timeout);
109
110    /**
111     * Gets the client socket read timeout.
112     * @return Returns the read timeout in milli-seconds
113     */

114    int getClientReadTimeout();
115
116    /**
117     * Sets the read time out.
118     * @param timeout The read time out in milli seconds
119     */

120    void setClientReadTimeout(int timeout);
121
122    /**
123     * Get the javax.net.SocketFactory implementation class to use on the client.
124     */

125    java.lang.String JavaDoc getClientSocketFactory();
126
127    /**
128     * Set the javax.net.SocketFactory implementation class to use on the client.
129     */

130    void setClientSocketFactory(java.lang.String JavaDoc name);
131
132    /**
133     * Set the javax.net.ServerSocketFactory implementation class to use to create the service SocketFactory.
134     */

135    void setServerSocketFactory(java.lang.String JavaDoc name) throws java.lang.Exception JavaDoc;
136
137    /**
138     * Get the javax.net.ServerSocketFactory implementation class to use to create the service SocketFactory.
139     */

140    java.lang.String JavaDoc getServerSocketFactory();
141
142    /**
143     * Set the security domain name to use with SSL aware socket factories
144     */

145    void setSecurityDomain(java.lang.String JavaDoc domainName);
146
147    /**
148     * Get the security domain name to use with SSL aware socket factories
149     */

150    java.lang.String JavaDoc getSecurityDomain();
151
152    String JavaDoc getConnectAddress();
153
154    void setConnectAddress(String JavaDoc addr);
155    
156    int getConnectPort();
157
158    void setConnectPort(int port);
159 }
160
Popular Tags