Skip to content

Commit

Permalink
Update token to match 3.1.1 updates for Java client
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Craggs committed Jun 26, 2014
1 parent ba340ad commit 8de5d20
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import org.eclipse.paho.client.mqttv3.IMqttToken;
import org.eclipse.paho.client.mqttv3.MqttException;
import org.eclipse.paho.client.mqttv3.MqttSecurityException;
import org.eclipse.paho.client.mqttv3.internal.wire.MqttWireMessage;

/**
* <p>
Expand Down Expand Up @@ -232,4 +233,22 @@ void setDelegate(IMqttToken delegate) {
public int getMessageId() {
return (delegate != null) ? delegate.getMessageId() : 0;
}

@Override
public MqttWireMessage getResponse() {
return delegate.getResponse();
}

@Override
public boolean getSessionPresent() {
return delegate.getSessionPresent();
}

@Override
public int[] getGrantedQos() {
return delegate.getGrantedQos();
}



}

0 comments on commit 8de5d20

Please sign in to comment.