Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4 | ligi | 1 | import java.io.*; |
2 | import javax.microedition.io.*; |
||
3 | |||
4 | public class MKProxy |
||
5 | implements Runnable |
||
6 | { |
||
7 | |||
8 | public String err_str="none"; |
||
9 | StreamConnection connection; |
||
10 | |||
11 | public java.io.InputStream reader; |
||
12 | public java.io.OutputStream writer; |
||
13 | |||
14 | public MKProxy(String url) |
||
15 | { |
||
16 | try |
||
17 | { |
||
18 | connection = (StreamConnection) Connector.open(url, Connector.READ_WRITE); |
||
19 | reader=connection.openInputStream(); |
||
20 | writer=connection.openOutputStream(); |
||
21 | |||
22 | |||
23 | } |
||
24 | catch (Exception e) |
||
25 | { |
||
26 | err_str=e.toString(); |
||
27 | } |
||
28 | } |
||
29 | |||
30 | public void run() |
||
31 | { |
||
32 | } |
||
33 | |||
34 | } |