Skip to content

Commit

Permalink
Add isConnected to StompClient
Browse files Browse the repository at this point in the history
  • Loading branch information
NaikSoftware committed Oct 31, 2016
1 parent 6258363 commit fdb23f6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0'
classpath 'com.android.tools.build:gradle:2.2.2'
classpath 'me.tatarka:gradle-retrolambda:3.3.0'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,8 @@ private void unsubscribePath(String dest) {
send(new StompMessage(StompCommand.UNSUBSCRIBE,
Collections.singletonList(new StompHeader(StompHeader.ID, topicId)), null));
}

public boolean isConnected() {
return mConnected;
}
}

0 comments on commit fdb23f6

Please sign in to comment.