Package org.eclipse.ecf.remoteservice.rpc.identity

Examples of org.eclipse.ecf.remoteservice.rpc.identity.RpcId


  private static final String RPC_CONTAINER_TYPE = "ecf.xmlrpc.client"; //$NON-NLS-1$

  public IContainer createInstance(ContainerTypeDescription description, Object[] parameters)
      throws ContainerCreateException {
    try {
      RpcId ID = null;
      if (parameters != null && parameters[0] instanceof RpcId)
        ID = (RpcId) parameters[0];
      else
        ID = (RpcId) IDFactory.getDefault().createID(RpcNamespace.NAME, parameters);
      return new RpcClientContainer(ID);
View Full Code Here


    client = getXmlRpcClient();
  }

  protected XmlRpcClientConfig getXmlRpcClientConfig() throws RpcException {
    try {
      RpcId id = (RpcId) container.getID();

      XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
      config.setServerURL(id.toURI().toURL());
      config.setEnabledForExtensions(true);
      // Set default timeouts
      config.setConnectionTimeout(60 * 1000);
      config.setReplyTimeout(60 * 1000);

 
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.remoteservice.rpc.identity.RpcId

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.