All Downloads are FREE. Search and download functionalities are using the official Maven repository.

swim.api.downlink.ValueDownlink Maven / Gradle / Ivy

There is a newer version: 3.10.0
Show newest version
// Copyright 2015-2019 SWIM.AI inc.
//
// 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 swim.api.downlink;

import swim.api.downlink.function.DidLink;
import swim.api.downlink.function.DidReceive;
import swim.api.downlink.function.DidSync;
import swim.api.downlink.function.DidUnlink;
import swim.api.downlink.function.WillCommand;
import swim.api.downlink.function.WillLink;
import swim.api.downlink.function.WillReceive;
import swim.api.downlink.function.WillSync;
import swim.api.downlink.function.WillUnlink;
import swim.api.function.DidClose;
import swim.api.function.DidConnect;
import swim.api.function.DidDisconnect;
import swim.api.function.DidFail;
import swim.observable.ObservableValue;
import swim.observable.function.DidSet;
import swim.observable.function.WillSet;
import swim.streamlet.Inlet;
import swim.streamlet.Outlet;
import swim.structure.Form;
import swim.structure.Value;
import swim.uri.Uri;

public interface ValueDownlink extends Downlink, ObservableValue, Inlet, Outlet {
  @Override
  ValueDownlink hostUri(Uri hostUri);

  @Override
  ValueDownlink hostUri(String hostUri);

  @Override
  ValueDownlink nodeUri(Uri nodeUri);

  @Override
  ValueDownlink nodeUri(String nodeUri);

  @Override
  ValueDownlink laneUri(Uri laneUri);

  @Override
  ValueDownlink laneUri(String laneUri);

  @Override
  ValueDownlink prio(float prio);

  @Override
  ValueDownlink rate(float rate);

  @Override
  ValueDownlink body(Value body);

  @Override
  ValueDownlink keepLinked(boolean keepLinked);

  @Override
  ValueDownlink keepSynced(boolean keepSynced);

  boolean isStateful();

  ValueDownlink isStateful(boolean isStateful);

  Form valueForm();

   ValueDownlink valueForm(Form valueForm);

   ValueDownlink valueClass(Class valueClass);

  @Override
  ValueDownlink observe(Object observer);

  @Override
  ValueDownlink unobserve(Object observer);

  @Override
  ValueDownlink willSet(WillSet willSet);

  @Override
  ValueDownlink didSet(DidSet didSet);

  @Override
  ValueDownlink willReceive(WillReceive willReceive);

  @Override
  ValueDownlink didReceive(DidReceive didReceive);

  @Override
  ValueDownlink willCommand(WillCommand willCommand);

  @Override
  ValueDownlink willLink(WillLink willLink);

  @Override
  ValueDownlink didLink(DidLink didLink);

  @Override
  ValueDownlink willSync(WillSync willSync);

  @Override
  ValueDownlink didSync(DidSync didSync);

  @Override
  ValueDownlink willUnlink(WillUnlink willUnlink);

  @Override
  ValueDownlink didUnlink(DidUnlink didUnlink);

  @Override
  ValueDownlink didConnect(DidConnect didConnect);

  @Override
  ValueDownlink didDisconnect(DidDisconnect didDisconnect);

  @Override
  ValueDownlink didClose(DidClose didClose);

  @Override
  ValueDownlink didFail(DidFail didFail);

  @Override
  ValueDownlink open();

  @Override
  V get();

  @Override
  V set(V newValue);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy