Added a method to check which plugins support invitations.

This commit is contained in:
akwizgran
2011-10-29 09:52:07 +01:00
parent 70c7a9c077
commit 42ddfb444e
4 changed files with 17 additions and 4 deletions

View File

@@ -97,13 +97,15 @@ class SimpleSocketPlugin extends SocketPlugin {
callback.setLocalProperties(p);
}
public boolean supportsInvitations() {
return false;
}
public StreamTransportConnection sendInvitation(int code, long timeout) {
// FIXME
return null;
throw new UnsupportedOperationException();
}
public StreamTransportConnection acceptInvitation(int code, long timeout) {
// FIXME
return null;
throw new UnsupportedOperationException();
}
}