aboutsummaryrefslogtreecommitdiff
path: root/juick-ws/src/main/java/com/juick/ws/api/WebSocketStatus.java
blob: 82e157657b818ad3886dbf777178a61644d1ffa3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.juick.ws.api;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Created by vitalyster on 25.07.2016.
 */
public class WebSocketStatus {
    private int clientsCount;

    public WebSocketStatus(int count) {
        clientsCount = count;
    }

    @JsonProperty("status")
    public int getClientsCount() {
        return clientsCount;
    }
}