org.apache.activemq.transport.xmpp
Class XmppTransport

java.lang.Object
  extended by org.apache.activemq.util.ServiceSupport
      extended by org.apache.activemq.transport.TransportSupport
          extended by org.apache.activemq.transport.TransportThreadSupport
              extended by org.apache.activemq.transport.tcp.TcpTransport
                  extended by org.apache.activemq.transport.xmpp.XmppTransport
All Implemented Interfaces:
Runnable, Service, Transport

Deprecated.

@Deprecated
public class XmppTransport
extends TcpTransport


Field Summary
protected static QName ATTRIBUTE_TO
          Deprecated.  
protected  InputStream inputStream
          Deprecated.  
protected  OutputStream outputStream
          Deprecated.  
 
Fields inherited from class org.apache.activemq.transport.tcp.TcpTransport
buffOut, closeAsync, connectionTimeout, dataIn, dataOut, diffServChosen, dynamicManagement, ioBufferSize, jmxPort, localLocation, logWriterName, minmumWireFormatVersion, receiveCounter, remoteLocation, socket, socketBufferSize, socketFactory, soTimeout, startLogging, stoppedLatch, trace, trafficClass, typeOfServiceChosen, useLocalHost, wireFormat
 
Constructor Summary
XmppTransport(WireFormat wireFormat, Socket socket)
          Deprecated.  
XmppTransport(WireFormat wireFormat, SocketFactory socketFactory, URI uri, URI uri1)
          Deprecated.  
 
Method Summary
 void doRun()
          Deprecated.  
protected  void doStop(ServiceStopper stopper)
          Deprecated.  
 String getFrom()
          Deprecated.  
protected  void initializeStreams()
          Deprecated.  
 void marshall(Object command)
          Deprecated. Marshalls the given POJO to the client
 void oneway(Object object)
          Deprecated. A one way asynchronous send
protected  void writeOpenStream(String id, String from)
          Deprecated.  
 
Methods inherited from class org.apache.activemq.transport.tcp.TcpTransport
closeStreams, connect, doStart, getConnectionTimeout, getDiffServ, getIoBufferSize, getJmxPort, getKeepAlive, getLogWriterName, getMinmumWireFormatVersion, getReceiveCounter, getRemoteAddress, getSocketBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTypeOfService, getWireFormat, initialiseSocket, isCloseAsync, isDynamicManagement, isStartLogging, isTrace, isUseLocalHost, narrow, readCommand, resolveHostName, run, setCloseAsync, setConnectionTimeout, setDiffServ, setDynamicManagement, setIoBufferSize, setJmxPort, setKeepAlive, setLogWriterName, setMinmumWireFormatVersion, setSocketBufferSize, setSocketOptions, setSoLinger, setSoTimeout, setStartLogging, setTcpNoDelay, setTrace, setTypeOfService, setUseLocalHost, stop, toString
 
Methods inherited from class org.apache.activemq.transport.TransportThreadSupport
getStackSize, isDaemon, setDaemon, setStackSize
 
Methods inherited from class org.apache.activemq.transport.TransportSupport
asyncRequest, checkStarted, doConsume, getTransportListener, isConnected, isDisposed, isFaultTolerant, isReconnectSupported, isUpdateURIsSupported, onException, reconnect, request, request, setTransportListener, updateURIs
 
Methods inherited from class org.apache.activemq.util.ServiceSupport
addServiceListener, dispose, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.activemq.transport.Transport
asyncRequest, getTransportListener, isConnected, isDisposed, isFaultTolerant, isReconnectSupported, isUpdateURIsSupported, reconnect, request, request, setTransportListener, updateURIs
 
Methods inherited from interface org.apache.activemq.Service
start
 

Field Detail

ATTRIBUTE_TO

protected static final QName ATTRIBUTE_TO
Deprecated. 

outputStream

protected OutputStream outputStream
Deprecated. 

inputStream

protected InputStream inputStream
Deprecated. 
Constructor Detail

XmppTransport

public XmppTransport(WireFormat wireFormat,
                     Socket socket)
              throws IOException
Deprecated. 
Throws:
IOException

XmppTransport

public XmppTransport(WireFormat wireFormat,
                     SocketFactory socketFactory,
                     URI uri,
                     URI uri1)
              throws IOException
Deprecated. 
Throws:
IOException
Method Detail

oneway

public void oneway(Object object)
            throws IOException
Deprecated. 
Description copied from class: TcpTransport
A one way asynchronous send

Specified by:
oneway in interface Transport
Overrides:
oneway in class TcpTransport
Throws:
IOException

marshall

public void marshall(Object command)
              throws IOException
Deprecated. 
Marshalls the given POJO to the client

Throws:
IOException

doRun

public void doRun()
           throws IOException
Deprecated. 
Overrides:
doRun in class TcpTransport
Throws:
IOException

getFrom

public String getFrom()
Deprecated. 

doStop

protected void doStop(ServiceStopper stopper)
               throws Exception
Deprecated. 
Overrides:
doStop in class TcpTransport
Throws:
Exception

initializeStreams

protected void initializeStreams()
                          throws Exception
Deprecated. 
Overrides:
initializeStreams in class TcpTransport
Throws:
Exception

writeOpenStream

protected void writeOpenStream(String id,
                               String from)
                        throws IOException,
                               XMLStreamException
Deprecated. 
Throws:
IOException
XMLStreamException


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.