src/main/java/de/unixwork/im/XmppSession.java

changeset 1
42d0d099492b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/java/de/unixwork/im/XmppSession.java	Thu Dec 26 12:29:05 2024 +0100
@@ -0,0 +1,30 @@
+package de.unixwork.im;
+
+import net.java.otr4j.crypto.OtrCryptoEngine;
+import net.java.otr4j.crypto.OtrCryptoEngineImpl;
+
+public class XmppSession {
+    private String xid;
+    private String resource;
+    
+    
+    private boolean isSecure = false;
+    
+    public XmppSession(String xid, String resource) {
+        this.xid = xid;
+        this.resource = resource;
+    }
+    
+    public void startOtr(Xmpp xmpp) {
+        
+        
+    }
+    
+    public void endOtr(Xmpp xmpp) {
+        
+    }
+    
+    public boolean isSecure() {
+        return isSecure;
+    }
+}

mercurial