tigase.jaxmpp.gwt.client
Class Jaxmpp

java.lang.Object
  extended by tigase.jaxmpp.core.client.JaxmppCore
      extended by tigase.jaxmpp.gwt.client.Jaxmpp

public class Jaxmpp
extends tigase.jaxmpp.core.client.JaxmppCore


Nested Class Summary
 
Nested classes/interfaces inherited from class tigase.jaxmpp.core.client.JaxmppCore
tigase.jaxmpp.core.client.JaxmppCore.JaxmppEvent
 
Field Summary
static tigase.jaxmpp.core.client.observer.EventType BeforeSessionResoting
           
 
Fields inherited from class tigase.jaxmpp.core.client.JaxmppCore
AUTOADD_STANZA_ID_KEY, Connected, connector, Disconnected, log, modulesManager, observable, processor, resourceBindListener, sessionLogic, sessionObject, stanzaReceivedListener, streamErrorListener, streamTerminateListener, writer
 
Constructor Summary
Jaxmpp()
           
Jaxmpp(tigase.jaxmpp.core.client.SessionObject sessionObject)
           
 
Method Summary
protected  void checkTimeouts()
           
protected  tigase.jaxmpp.core.client.Connector createConnector()
           
 void disconnect()
           
 ConnectionConfiguration getConnectionConfiguration()
          
 tigase.jaxmpp.core.client.PacketWriter getWriter()
           
 void login()
           
protected  void onException(tigase.jaxmpp.core.client.exceptions.JaxmppException e)
           
protected  void onResourceBinded(tigase.jaxmpp.core.client.xmpp.modules.ResourceBinderModule.ResourceBindEvent be)
           
protected  void onStanzaReceived(tigase.jaxmpp.core.client.xml.Element stanza)
           
protected  void onStreamError(tigase.jaxmpp.core.client.Connector.ConnectorEvent be)
           
protected  void onStreamTerminated(tigase.jaxmpp.core.client.Connector.ConnectorEvent be)
           
 void restoreSession()
           
 void storeSession()
           
 
Methods inherited from class tigase.jaxmpp.core.client.JaxmppCore
addListener, addListener, createChat, getConnector, getModule, getModulesManager, getPresence, getProperties, getRoster, getSessionObject, isConnected, isSecure, keepalive, modulesInit, removeAllListeners, removeListener, removeListener, send, send, send, sendMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BeforeSessionResoting

public static tigase.jaxmpp.core.client.observer.EventType BeforeSessionResoting
Constructor Detail

Jaxmpp

public Jaxmpp()

Jaxmpp

public Jaxmpp(tigase.jaxmpp.core.client.SessionObject sessionObject)
Method Detail

checkTimeouts

protected void checkTimeouts()
                      throws tigase.jaxmpp.core.client.exceptions.JaxmppException
Throws:
tigase.jaxmpp.core.client.exceptions.JaxmppException

disconnect

public void disconnect()
                throws tigase.jaxmpp.core.client.exceptions.JaxmppException
Specified by:
disconnect in class tigase.jaxmpp.core.client.JaxmppCore
Throws:
tigase.jaxmpp.core.client.exceptions.JaxmppException

getConnectionConfiguration

public ConnectionConfiguration getConnectionConfiguration()

Specified by:
getConnectionConfiguration in class tigase.jaxmpp.core.client.JaxmppCore

getWriter

public tigase.jaxmpp.core.client.PacketWriter getWriter()

createConnector

protected tigase.jaxmpp.core.client.Connector createConnector()

login

public void login()
           throws tigase.jaxmpp.core.client.exceptions.JaxmppException
Specified by:
login in class tigase.jaxmpp.core.client.JaxmppCore
Throws:
tigase.jaxmpp.core.client.exceptions.JaxmppException

onException

protected void onException(tigase.jaxmpp.core.client.exceptions.JaxmppException e)
                    throws tigase.jaxmpp.core.client.exceptions.JaxmppException
Specified by:
onException in class tigase.jaxmpp.core.client.JaxmppCore
Throws:
tigase.jaxmpp.core.client.exceptions.JaxmppException

onResourceBinded

protected void onResourceBinded(tigase.jaxmpp.core.client.xmpp.modules.ResourceBinderModule.ResourceBindEvent be)
                         throws tigase.jaxmpp.core.client.exceptions.JaxmppException
Specified by:
onResourceBinded in class tigase.jaxmpp.core.client.JaxmppCore
Throws:
tigase.jaxmpp.core.client.exceptions.JaxmppException

onStanzaReceived

protected void onStanzaReceived(tigase.jaxmpp.core.client.xml.Element stanza)
Specified by:
onStanzaReceived in class tigase.jaxmpp.core.client.JaxmppCore

onStreamError

protected void onStreamError(tigase.jaxmpp.core.client.Connector.ConnectorEvent be)
                      throws tigase.jaxmpp.core.client.exceptions.JaxmppException
Specified by:
onStreamError in class tigase.jaxmpp.core.client.JaxmppCore
Throws:
tigase.jaxmpp.core.client.exceptions.JaxmppException

onStreamTerminated

protected void onStreamTerminated(tigase.jaxmpp.core.client.Connector.ConnectorEvent be)
                           throws tigase.jaxmpp.core.client.exceptions.JaxmppException
Specified by:
onStreamTerminated in class tigase.jaxmpp.core.client.JaxmppCore
Throws:
tigase.jaxmpp.core.client.exceptions.JaxmppException

restoreSession

public void restoreSession()
                    throws tigase.jaxmpp.core.client.exceptions.JaxmppException
Throws:
tigase.jaxmpp.core.client.exceptions.JaxmppException

storeSession

public void storeSession()


Copyright © 2006–2013 Tigase. All rights reserved.