Package eu.mosaic_cloud.interoperability.implementations.zeromq

Examples of eu.mosaic_cloud.interoperability.implementations.zeromq.ZeroMqChannel$State


        throw (new IllegalStateException (e));
      }
      this.logger.info ("Key Value Store driver callback registered to group " + this.selfGroup); // $NON-NLS-1$
      this.status = Status.Registered;
      // NOTE: create stub and interop channel
      final ZeroMqChannel driverChannel = this.createDriverChannel (ConfigProperties.getString ("KVDriverComponentCallbacks.4"), ConfigProperties.getString ("KVDriverComponentCallbacks.3"), KeyValueSession.DRIVER);
      this.stub = KeyValueStub.create (this.getDriverConfiguration (), this.threading, driverChannel);
    } else {
      throw new IllegalStateException ();
    }
    return null;
View Full Code Here


      this.logger.info ("AMQP driver callback registered to group " + this.selfGroup); // $NON-NLS-1$
      this.status = Status.Registered;
      // NOTE: create stub and interop channel
      final String channelId = ConfigProperties.getString ("AmqpDriverComponentCallbacks.4");
      final String channelEndpoint = ConfigProperties.getString ("AmqpDriverComponentCallbacks.3");
      final ZeroMqChannel driverChannel = this.createDriverChannel (channelId, channelEndpoint, AmqpSession.DRIVER);
      this.stub = AmqpStub.create (this.getDriverConfiguration (), driverChannel, this.threading);
    } else {
      throw new IllegalStateException ();
    }
    return null;
View Full Code Here

 
  protected ZeroMqChannel createDriverChannel (final String channelIdentifierProp, final String channelEndpointProp, final SessionSpecification role)
  {
    // NOTE: create stub and interop channel
    Preconditions.checkNotNull (this.driverConfiguration);
    final ZeroMqChannel driverChannel = ZeroMqChannel.create (ConfigUtils.resolveParameter (this.driverConfiguration, channelIdentifierProp, String.class, ""), this.threading, this.exceptions);
    driverChannel.register (role);
    driverChannel.accept (ConfigUtils.resolveParameter (this.driverConfiguration, channelEndpointProp, String.class, ""));
    return driverChannel;
  }
View Full Code Here

TOP

Related Classes of eu.mosaic_cloud.interoperability.implementations.zeromq.ZeroMqChannel$State

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.