Package org.apache.vinci.transport.vns.client

Examples of org.apache.vinci.transport.vns.client.ServeonResult


   *           if VNS host isn't specified.
   */
  protected int getPort() throws ServiceDownException, VNSException {
    try {
      VinciContext myContext = getContext();
      ServeonResult response = (ServeonResult) VinciClient.sendAndReceive(ServeonResult
              .composeQuery(serviceName, hostName, priority, instance), myContext.getVNSHost(),
              myContext.getVNSPort(), ServeonResult.factory, myContext.getVNSServeonTimeout());
      return response.port;
    } catch (IOException e) {
      Debug.reportException(e);
View Full Code Here


   *           if VNS host isn't specified.
   */
  protected int getPort() throws ServiceDownException, VNSException {
    try {
      VinciContext myContext = getContext();
      ServeonResult response = (ServeonResult) VinciClient.sendAndReceive(ServeonResult
              .composeQuery(serviceName, hostName, priority, instance), myContext.getVNSHost(),
              myContext.getVNSPort(), ServeonResult.factory, myContext.getVNSServeonTimeout());
      return response.port;
    } catch (IOException e) {
      Debug.reportException(e);
View Full Code Here

TOP

Related Classes of org.apache.vinci.transport.vns.client.ServeonResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.