mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 17:19:39 +02:00
Refactoring: All connection classes begin with XMPP now
This commit renames classes as follows: * TCPConnection --> XMPPTCPConnection * BOSHConnection --> XMPPBOSHConnection There are two reasons for this rename. First, it is there to indicate that the classes actually _are_ XMPP connections, using different transport mechanisms. Second, it makes auto-completion in IDEs easier, the developer can type XMPP<complete> and choose the right backend.
This commit is contained in:
parent
c86d6e3b61
commit
ab70cfec24
31 changed files with 120 additions and 120 deletions
|
@ -54,7 +54,7 @@
|
|||
<%@ include file="global.jsp" %>
|
||||
<%
|
||||
// If we don't have a valid connection then proceed to login
|
||||
TCPConnection conn = (XMPPConnection) session.getAttribute("connection");
|
||||
XMPPTCPConnection conn = (XMPPConnection) session.getAttribute("connection");
|
||||
if (conn == null || !conn.isConnected()) {
|
||||
response.sendRedirect("login.jsp");
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue