Subversion Repositories Projects

Rev

Rev 1564 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1564 Rev 1566
1
package dongfang.mkt.frames;
1
package dongfang.mkt.frames;
2
 
2
 
3
import java.io.IOException;
3
import java.io.IOException;
-
 
4
 
-
 
5
import dongfang.mkt.RequestFrameVisitor;
4
 
6
 
5
 
7
 
6
public class OSDDataRequestFrame extends RequestFrame {
8
public class OSDDataRequestFrame extends RequestFrame {
7
        private int autoSendInterval;
9
        private int autoSendInterval;
8
 
10
 
9
        public OSDDataRequestFrame() {
11
        public OSDDataRequestFrame() {
10
                super(NC_ADDRESS);
12
                super(NC_ADDRESS);
11
        }
13
        }
12
 
14
 
13
        public int getAutoSendInterval() {
15
        public int getAutoSendInterval() {
14
                return autoSendInterval;
16
                return autoSendInterval;
15
        }
17
        }
16
       
18
       
17
        public void setAutoSendInterval(int autoSendInterval) {
19
        public void setAutoSendInterval(int autoSendInterval) {
18
                this.autoSendInterval = autoSendInterval;
20
                this.autoSendInterval = autoSendInterval;
19
        }
21
        }
20
 
22
 
21
        @Override
23
        @Override
22
        public void accept(RequestFrameVisitor o) throws IOException {
24
        public void accept(RequestFrameVisitor o) throws IOException {
23
                o.visit(this);
25
                o.visit(this);
24
        }
26
        }
25
}
27
}
26
 
28