source: other-projects/FileTransfer-WebSocketPair/ServerActionResponseBundle/org/nbk4/gwt/action/client/RequestType.java@ 31449

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: 515 bytes
Line 
1package org.nbk4.gwt.action.client;
2
3import java.io.Serializable;
4
5import com.google.gwt.user.client.rpc.IsSerializable;
6
7public enum RequestType implements Serializable, IsSerializable{
8 PROCESS_FILE(0),
9 CANCEL_FILE_PROCESSING(1),
10 CANCEL_BUILD_ACTION(2),
11 RESPONSE_ALERT_WINDOW(3);
12
13 private int value;
14
15 private RequestType(int value){
16 this.setValue(value);
17 }
18
19 public int getValue() {
20 return value;
21 }
22
23 private void setValue(int value) {
24 this.value = value;
25 }
26}
Note: See TracBrowser for help on using the repository browser.