Subversion Repositories Projects

Rev

Rev 4 | Blame | Last modification | View Log | RSS feed

import java.io.*;
import javax.microedition.io.*;

public class MKProxy
 implements  Runnable
{

    public String err_str="none";
    StreamConnection connection;

    public java.io.InputStream  reader;    
    public java.io.OutputStream writer;    

    public MKProxy(String url)
    {
        try
            {
                connection = (StreamConnection) Connector.open(url, Connector.READ_WRITE);
                reader=connection.openInputStream();
                writer=connection.openOutputStream();
       

            }
        catch (Exception e)
            {
                err_str=e.toString();
            }
    }
   
    public void run()
    {
    }

}