Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 4 → Rev 59

/DUBwise/src/MKCommunicator.java
83,9 → 83,11
/****************** Section: private Methods ************************************************/
private void connect()
{
System.out.println("trying to connect to" + mk_url);
try{
connection = (StreamConnection) Connector.open(mk_url, Connector.READ_WRITE);
connection = (StreamConnection) Connector.open(mk_url);
// old call
// connection = (StreamConnection) Connector.open(mk_url, Connector.READ_WRITE);
reader=connection.openInputStream();
writer=connection.openOutputStream();
102,6 → 104,7
{
// TODO difference fatal errors from those which will lead to reconnection
msg="Problem connecting" + "\n" + ex;
System.out.println("problem connecting " + ex);
}