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

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

There is a newer version: 4.3.15
Show newest version
// 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.OnEvent;
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.structure.Form;
import swim.structure.Value;
import swim.uri.Uri;

public interface EventDownlink extends WarpDownlink {

  @Override
  EventDownlink hostUri(Uri hostUri);

  @Override
  EventDownlink hostUri(String hostUri);

  @Override
  EventDownlink nodeUri(Uri nodeUri);

  @Override
  EventDownlink nodeUri(String nodeUri);

  @Override
  EventDownlink laneUri(Uri laneUri);

  @Override
  EventDownlink laneUri(String laneUri);

  @Override
  EventDownlink prio(float prio);

  @Override
  EventDownlink rate(float rate);

  @Override
  EventDownlink body(Value body);

  @Override
  EventDownlink keepLinked(boolean keepLinked);

  @Override
  EventDownlink keepSynced(boolean keepSynced);

  Form valueForm();

   EventDownlink valueForm(Form valueForm);

   EventDownlink valueClass(Class valueClass);

  @Override
  EventDownlink observe(Object observer);

  @Override
  EventDownlink unobserve(Object observer);

  EventDownlink onEvent(OnEvent onEvent);

  @Override
  EventDownlink willReceive(WillReceive willReceive);

  @Override
  EventDownlink didReceive(DidReceive didReceive);

  @Override
  EventDownlink willCommand(WillCommand willCommand);

  @Override
  EventDownlink willLink(WillLink willLink);

  @Override
  EventDownlink didLink(DidLink didLink);

  @Override
  EventDownlink willSync(WillSync willSync);

  @Override
  EventDownlink didSync(DidSync didSync);

  @Override
  EventDownlink willUnlink(WillUnlink willUnlink);

  @Override
  EventDownlink didUnlink(DidUnlink didUnlink);

  @Override
  EventDownlink didConnect(DidConnect didConnect);

  @Override
  EventDownlink didDisconnect(DidDisconnect didDisconnect);

  @Override
  EventDownlink didClose(DidClose didClose);

  @Override
  EventDownlink didFail(DidFail didFail);

  @Override
  EventDownlink open();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy