01: package vicazh.hyperpool.stream.net.http;
02:
03: import vicazh.hyperpool.stream.Connection;
04:
05: /**
06: * The referer selector
07: *
08: * @author Victor Zhigunov
09: * @version 0.3.4
10: */
11: public class RefererSelector extends Selector {
12:
13: private int ref;
14:
15: /**
16: * Set the referer line index
17: */
18: public void setRef(int ref) {
19: this .ref = ref;
20: }
21:
22: /**
23: * Get the referer line index
24: */
25: public int getRef() {
26: return ref;
27: }
28:
29: public Connection getConnection() {
30: return new RefererConnection(this);
31: }
32: }
|