2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.knx.internal.client;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.types.Type;
18 import tuwien.auto.calimero.GroupAddress;
21 * Describes the relevant parameters for writing to the KNX bus.
23 * @author Simon Kaufmann - initial contribution and API
27 public interface OutboundSpec {
30 * Get the datapoint type.
32 * @return the datapoint type
37 * The group address to be used.
39 * @return the group address
41 GroupAddress getGroupAddress();
44 * The command or state to be sent.
46 * @return the command/state
51 * Check if group address to be used matches a given group address.
53 * @param groupAddress group address to be compared
54 * @return true if addresses match
56 boolean matchesDestination(GroupAddress groupAddress);