org.frameworkset.spi.remote.RemoteServiceID Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2008 biaoping.yin
*
* Licensed 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.frameworkset.spi.remote;
/**
* Title: RemoteServiceID.java
* Description:
* bboss workgroup
* Copyright (c) 2007
* @Date 2014年8月5日 下午3:46:05
* @author biaoping.yin
* @version 1.0
*/
public interface RemoteServiceID extends ServiceID {
public static final int result_object = 0;
public static final int result_first = 1;
public static final int result_map = 2;
public static final int result_rsplist = 3;
public static final int result_list = 4;
public int getResultMode();
public long getTimeout();
public String getSourceip();
public String getSourceport();
public String getSourcename();
public int getResultType();
public Target getRestfulTarget();
public Target getTarget();
public String getUrlParams();
public void setUrlParams(String urlParams);
public String getFistRestNode();
public void setFistRestNode(String fistRestNode);
public String getNextRestNode() ;
public void setNextRestNode(String nextRestNode) ;
public boolean isRestStyle();
public void setRestStyle(boolean restStyle);
public RemoteServiceID getRestfulServiceID();
/**
* @fixed biaoping.yin 2010-10-11
* @return the rest
*/
public String getNextRestfulServiceAddress();
public String getInfType();
public void setInfType(String infType);
// public void apendUrlParams(RemoteServiceID restid);
}