public DecodeableRpcResult(Channel channel, Response response, InputStream is, Invocation invocation, byte id) { Assert.notNull(channel, "channel == null"); Assert.notNull(response, "response == null"); Assert.notNull(is, "inputStream == null"); this.channel = channel; this.response = response; this.inputStream = is; this.invocation = invocation; this.serializationType = id; }
public DecodeableRpcInvocation(Channel channel, Request request, InputStream is, byte id) { Assert.notNull(channel, "channel == null"); Assert.notNull(request, "request == null"); Assert.notNull(is, "inputStream == null"); this.channel = channel; this.request = request; this.inputStream = is; this.serializationType = id; }
public DecodeableRpcInvocation(Channel channel, Request request, InputStream is, byte id) { Assert.notNull(channel, "channel == null"); Assert.notNull(request, "request == null"); Assert.notNull(is, "inputStream == null"); this.channel = channel; this.request = request; this.inputStream = is; this.serializationType = id; }
/** * @param prefix the prefix of Configuration Properties * @param beanName the binding Bean Name */ public DubboConfigBindingBeanPostProcessor(String prefix, String beanName) { Assert.notNull(prefix, "The prefix of Configuration Properties must not be null"); Assert.notNull(beanName, "The name of bean must not be null"); this.prefix = prefix; this.beanName = beanName; }
/** * @param prefix the prefix of Configuration Properties * @param beanName the binding Bean Name */ public DubboConfigBindingBeanPostProcessor(String prefix, String beanName) { Assert.notNull(prefix, "The prefix of Configuration Properties must not be null"); Assert.notNull(beanName, "The name of bean must not be null"); this.prefix = prefix; this.beanName = beanName; }
protected NativeJavaObjectOutput(ObjectOutputStream out) { Assert.notNull(out, "output == null"); this.outputStream = out; }
public CodecAdapter(Codec codec) { Assert.notNull(codec, "codec == null"); this.codec = codec; }
protected AbstractChannelHandlerDelegate(ChannelHandler handler) { Assert.notNull(handler, "handler == null"); this.handler = handler; }
public void createEphemeral(String path, String data) { Assert.notNull(client, new IllegalStateException("Zookeeper is not connected yet!")); client.createEphemeral(path, data); }
public void delete(String path) { Assert.notNull(client, new IllegalStateException("Zookeeper is not connected yet!")); client.delete(path); }
public void close() { Assert.notNull(client, new IllegalStateException("Zookeeper is not connected yet!")); client.close(); }
public List<String> subscribeChildChanges(String path, final IZkChildListener listener) { Assert.notNull(client, new IllegalStateException("Zookeeper is not connected yet!")); return client.subscribeChildChanges(path, listener); }
public void unsubscribeChildChanges(String path, IZkChildListener listener) { Assert.notNull(client, new IllegalStateException("Zookeeper is not connected yet!")); client.unsubscribeChildChanges(path, listener); }
public void close() { Assert.notNull(client, new IllegalStateException("Zookeeper is not connected yet!")); client.close(); }
public void createPersistent(String path, String data) { Assert.notNull(client, new IllegalStateException("Zookeeper is not connected yet!")); client.createPersistent(path, data); }
public String getData(String path) { Assert.notNull(client, new IllegalStateException("Zookeeper is not connected yet!")); return client.readData(path); }
public void createEphemeral(String path, String data) { Assert.notNull(client, new IllegalStateException("Zookeeper is not connected yet!")); client.createEphemeral(path, data); }
public String getData(String path) { Assert.notNull(client, new IllegalStateException("Zookeeper is not connected yet!")); return client.readData(path); }
public HeaderExchangeServer(Server server) { Assert.notNull(server, "server == null"); this.server = server; startIdleCheckTask(getUrl()); }
public HeaderExchangeClient(Client client, boolean startTimer) { Assert.notNull(client, "Client can't be null"); this.client = client; this.channel = new HeaderExchangeChannel(client); if (startTimer) { URL url = client.getUrl(); startReconnectTask(url); startHeartBeatTask(url); } }