Sign in

wms / wms_shanghaijiaoda · Files

Logo

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • wms_shanghaijiaoda
  • ..
  • stompwebsocket
  • StompPrincipal.java
  • 消息保存到stomp_message表,并在消息头中增加head信息msg-id
    9ade224a
    周峰 authored
    2021-05-10 13:46:27 +0800  
    Browse Code »
StompPrincipal.java 275 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package com.huaheng.pc.stompwebsocket;

import java.security.Principal;

class StompPrincipal implements Principal {
    String name;

    StompPrincipal(String name) {
        this.name = name;
    }

    @Override
    public String getName() {
        return name;
    }
}