swim.api.downlink.ValueDownlink Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swim-api Show documentation
Show all versions of swim-api Show documentation
Agent programming interface
// Copyright 2015-2021 Swim 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.function.DidClose;
import swim.api.function.DidConnect;
import swim.api.function.DidDisconnect;
import swim.api.function.DidFail;
import swim.api.warp.WarpDownlink;
import swim.api.warp.function.DidLink;
import swim.api.warp.function.DidReceive;
import swim.api.warp.function.DidSync;
import swim.api.warp.function.DidUnlink;
import swim.api.warp.function.WillCommand;
import swim.api.warp.function.WillLink;
import swim.api.warp.function.WillReceive;
import swim.api.warp.function.WillSync;
import swim.api.warp.function.WillUnlink;
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 WarpDownlink, 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