Last change
on this file since 31449 was 31449, checked in by davidb, 7 years ago |
Adding three project folders for Nathan Kelly's 2016/2017 summer project, experimenting with Websockets for File Transfer with GWT and Sencha GXT
|
File size:
508 bytes
|
Line | |
---|
1 | package com.sksamuel.gwt.websockets;
|
---|
2 |
|
---|
3 | public class CloseEvent {
|
---|
4 |
|
---|
5 | private final short code;
|
---|
6 | private final String reason;
|
---|
7 | private final boolean wasClean;
|
---|
8 |
|
---|
9 | public CloseEvent(short code, String reason, boolean wasClean) {
|
---|
10 | this.code = code;
|
---|
11 | this.reason = reason;
|
---|
12 | this.wasClean = wasClean;
|
---|
13 | }
|
---|
14 |
|
---|
15 | public short code() {
|
---|
16 | return code;
|
---|
17 | }
|
---|
18 |
|
---|
19 | public String reason() {
|
---|
20 | return reason;
|
---|
21 | }
|
---|
22 |
|
---|
23 | public boolean wasClean() {
|
---|
24 | return wasClean;
|
---|
25 | }
|
---|
26 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.