Skip to content

Commit

Permalink
Add Copywrite notice to files
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles-Schleich committed Oct 4, 2024
1 parent 5a20de4 commit 9808d54
Show file tree
Hide file tree
Showing 25 changed files with 346 additions and 0 deletions.
14 changes: 14 additions & 0 deletions zenoh-plugin-remote-api/src/handle_control_message.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

use std::{error::Error, net::SocketAddr};

use tracing::{error, warn};
Expand Down
13 changes: 13 additions & 0 deletions zenoh-plugin-remote-api/src/handle_data_message.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//
use std::{error::Error, net::SocketAddr};

use tracing::{error, warn};
Expand Down
14 changes: 14 additions & 0 deletions zenoh-plugin-remote-api/src/interface.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

use std::sync::Arc;

use base64::{prelude::BASE64_STANDARD, Engine};
Expand Down
14 changes: 14 additions & 0 deletions zenoh-ts/examples/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

import "./style.css";
import "./webpage.ts";
import {thr} from "./z_sub_thr.ts";
Expand Down
14 changes: 14 additions & 0 deletions zenoh-ts/examples/src/webpage.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

import typescriptLogo from "./typescript.svg";

document.querySelector<HTMLDivElement>("#app")!.innerHTML = `
Expand Down
14 changes: 14 additions & 0 deletions zenoh-ts/examples/src/z_delete.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

import "./style.css";
import "./webpage.ts";

Expand Down
14 changes: 14 additions & 0 deletions zenoh-ts/examples/src/z_get.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

import { ReplyError } from "@ZettaScaleLabs/zenoh-ts";
import { deserialize_string } from "@ZettaScaleLabs/zenoh-ts";
import "./style.css";
Expand Down
14 changes: 14 additions & 0 deletions zenoh-ts/examples/src/z_ping.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

import { FifoChannel } from "@ZettaScaleLabs/zenoh-ts";
import "./style.css";
import "./webpage.ts";
Expand Down
14 changes: 14 additions & 0 deletions zenoh-ts/examples/src/z_pong.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

import "./style.css";
import "./webpage.ts";

Expand Down
14 changes: 14 additions & 0 deletions zenoh-ts/examples/src/z_pub.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

import "./style.css";
import "./webpage.ts";

Expand Down
14 changes: 14 additions & 0 deletions zenoh-ts/examples/src/z_put.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

import "./style.css";
import "./webpage.ts";
import { Config, Session } from "@ZettaScaleLabs/zenoh-ts";
Expand Down
14 changes: 14 additions & 0 deletions zenoh-ts/examples/src/z_queryable.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

import "./style.css";
import "./webpage.ts";

Expand Down
14 changes: 14 additions & 0 deletions zenoh-ts/examples/src/z_sub.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

import "./style.css";
import "./webpage.ts";

Expand Down
14 changes: 14 additions & 0 deletions zenoh-ts/examples/src/z_sub_thr.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

import "./style.css";
import "./webpage.ts";

Expand Down
14 changes: 14 additions & 0 deletions zenoh-ts/src/config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

// ██████ ██████ ███ ██ ███████ ██ ██████
// ██ ██ ██ ████ ██ ██ ██ ██
// ██ ██ ██ ██ ██ ██ █████ ██ ██ ███
Expand Down
13 changes: 13 additions & 0 deletions zenoh-ts/src/encoding.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

enum encoding {
ZENOH_BYTES = "zenoh/bytes",
Expand Down
13 changes: 13 additions & 0 deletions zenoh-ts/src/key_expr.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//
// ██ ██ ███████ ██ ██ ███████ ██ ██ ██████ ██████
// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
// █████ █████ ████ █████ ███ ██████ ██████
Expand Down
14 changes: 14 additions & 0 deletions zenoh-ts/src/pubsub.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

// Remote API
import { RemoteSubscriber, RemotePublisher } from "./remote_api/pubsub";

Expand Down
14 changes: 14 additions & 0 deletions zenoh-ts/src/query.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

// External
import { SimpleChannel } from "channel-ts";
import { encode as b64_str_from_bytes } from "base64-arraybuffer";
Expand Down
14 changes: 14 additions & 0 deletions zenoh-ts/src/remote_api/pubsub.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

import { SimpleChannel } from "channel-ts";
import { v4 as uuidv4 } from "uuid";
import { encode as b64_str_from_bytes } from "base64-arraybuffer";
Expand Down
14 changes: 14 additions & 0 deletions zenoh-ts/src/remote_api/query.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

import { SimpleChannel } from "channel-ts";

// Import interface
Expand Down
14 changes: 14 additions & 0 deletions zenoh-ts/src/remote_api/session.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
//
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//

import { SimpleChannel } from "channel-ts";
import { v4 as uuidv4 } from "uuid";
import { Logger } from "tslog";
Expand Down
Loading

0 comments on commit 9808d54

Please sign in to comment.