| /* |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| */ |
| |
| package org.apache.uima.resource; |
| |
| /** |
| * |
| * |
| * To change this generated comment edit the template variable "typecomment": |
| * Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to |
| * Window>Preferences>Java>Code Generation. |
| */ |
| public interface MessagingSpecifier extends ResourceServiceSpecifier { |
| |
| /** |
| * Returns the hostAddress. |
| * |
| * @return String |
| */ |
| public String getHostAddress(); |
| |
| /** |
| * Returns the hostMessagingServer. |
| * |
| * @return String |
| */ |
| public String getHostMessagingServer(); |
| |
| /** |
| * Returns the hostPassword. |
| * |
| * @return String |
| */ |
| public String getHostPassword(); |
| |
| /** |
| * Returns the hostUser. |
| * |
| * @return String |
| */ |
| public String getHostUser(); |
| |
| /** |
| * Returns the messagingType. |
| * |
| * @return String |
| */ |
| public String getMessagingType(); |
| |
| /** |
| * Returns the targetAddress. |
| * |
| * @return String |
| */ |
| public String getTargetAddress(); |
| |
| /** |
| * Returns the targetMessagingServer. |
| * |
| * @return String |
| */ |
| public String getTargetMessagingServer(); |
| |
| /** |
| * Returns the targetPassword. |
| * |
| * @return String |
| */ |
| public String getTargetPassword(); |
| |
| /** |
| * Returns the targetUser. |
| * |
| * @return String |
| */ |
| public String getTargetUser(); |
| |
| /** |
| * Sets the hostAddress. |
| * |
| * @param hostAddress |
| * The hostAddress to set |
| */ |
| public void setHostAddress(String hostAddress); |
| |
| /** |
| * Sets the hostMessagingServer. |
| * |
| * @param hostMessagingServer |
| * The hostMessagingServer to set |
| */ |
| public void setHostMessagingServer(String hostMessagingServer); |
| |
| /** |
| * Sets the hostPassword. |
| * |
| * @param hostPassword |
| * The hostPassword to set |
| */ |
| public void setHostPassword(String hostPassword); |
| |
| /** |
| * Sets the hostUser. |
| * |
| * @param hostUser |
| * The hostUser to set |
| */ |
| public void setHostUser(String hostUser); |
| |
| /** |
| * Sets the messagingType. |
| * |
| * @param messagingType |
| * The messagingType to set |
| */ |
| public void setMessagingType(String messagingType); |
| |
| /** |
| * Sets the targetAddress. |
| * |
| * @param targetAddress |
| * The targetAddress to set |
| */ |
| public void setTargetAddress(String targetAddress); |
| |
| /** |
| * Sets the targetMessagingServer. |
| * |
| * @param targetMessagingServer |
| * The targetMessagingServer to set |
| */ |
| public void setTargetMessagingServer(String targetMessagingServer); |
| |
| /** |
| * Sets the targetPassword. |
| * |
| * @param targetPassword |
| * The targetPassword to set |
| */ |
| public void setTargetPassword(String targetPassword); |
| |
| /** |
| * Sets the targetUser. |
| * |
| * @param targetUser |
| * The targetUser to set |
| */ |
| public void setTargetUser(String targetUser); |
| |
| /** |
| * Gets the timeout period in milliseconds. If a call takes longer than this amount of time, an |
| * exception will be thrown. |
| * |
| * @return the timeout period in milliseconds. A null value indicates that the transport layer's |
| * default value will be used. |
| */ |
| public Integer getTimeout(); |
| |
| /** |
| * Sets the timeout period in milliseconds. If a call takes longer than this amount of time, an |
| * exception will be thrown. |
| * |
| * @param aTimeout |
| * the timeout period in milliseconds. A null value indicates that the transport layer's |
| * default value will be used. |
| */ |
| public void setTimeout(Integer aTimeout); |
| } |