dmsc/java/classes/ws.rs
1//! Copyright © 2025-2026 Wenze Wei. All Rights Reserved.
2//!
3//! This file is part of DMSC.
4//! The DMSC project belongs to the Dunimd Team.
5//!
6//! Licensed under the Apache License, Version 2.0 (the "License");
7//! You may not use this file except in compliance with the License.
8//! You may obtain a copy of the License at
9//!
10//! http://www.apache.org/licenses/LICENSE-2.0
11//!
12//! Unless required by applicable law or agreed to in writing, software
13//! distributed under the License is distributed on an "AS IS" BASIS,
14//! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15//! See the License for the specific language governing permissions and
16//! limitations under the License.
17
18//! # WebSocket Module JNI Bindings
19//!
20//! JNI bindings for DMSC WebSocket classes.
21
22use jni::JNIEnv;
23use jni::objects::JClass;
24use jni::sys::jlong;
25
26#[no_mangle]
27pub extern "system" fn Java_com_dunimd_dmsc_ws_DMSCWSServer_new0(
28 _env: JNIEnv,
29 _class: JClass,
30) -> jlong {
31 0
32}
33
34#[no_mangle]
35pub extern "system" fn Java_com_dunimd_dmsc_ws_DMSCWSServer_free0(
36 _env: JNIEnv,
37 _class: JClass,
38 _ptr: jlong,
39) {
40}
41
42#[no_mangle]
43pub extern "system" fn Java_com_dunimd_dmsc_ws_DMSCWSClient_new0(
44 _env: JNIEnv,
45 _class: JClass,
46) -> jlong {
47 0
48}
49
50#[no_mangle]
51pub extern "system" fn Java_com_dunimd_dmsc_ws_DMSCWSClient_free0(
52 _env: JNIEnv,
53 _class: JClass,
54 _ptr: jlong,
55) {
56}