mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 00:59:39 +02:00
Make XMPPConnection an interface
create AbstractXMPPConnection.
This commit is contained in:
parent
6dd180e9d3
commit
beecb8a675
33 changed files with 1264 additions and 1090 deletions
|
@ -14,7 +14,7 @@ Key Advantages :
|
|||
- Extremely simple to use, yet powerful API. Sending a text message to a user can be accomplished in only a few lines of code:
|
||||
|
||||
```java
|
||||
XMPPConnection connection = new XMPPTCPConnection("jabber.org");
|
||||
AbstractXMPPConnection connection = new XMPPTCPConnection("jabber.org");
|
||||
connection.connect();
|
||||
connection.login("mtucker", "password");
|
||||
Chat chat = ChatManager.getInstanceFor(connection)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue