com.realtime.xmpp.streams
Class SocketStreamFactory.SocketStream

java.lang.Object
  |
  +--java.net.Socket
        |
        +--com.realtime.xmpp.streams.SocketStreamFactory.SocketStream
All Implemented Interfaces:
XmlStream
Enclosing class:
SocketStreamFactory

protected class SocketStreamFactory.SocketStream
extends java.net.Socket
implements XmlStream

Our XmlStream implementation.


Constructor Summary
SocketStreamFactory.SocketStream()
          Create a socket based on the host and port.
 
Method Summary
 java.lang.String getName()
          Provides a name for the stream.
 
Methods inherited from class java.net.Socket
bind, close, connect, connect, getChannel, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.realtime.xmpp.streams.XmlStream
close, getInputStream, getOutputStream, isClosed
 

Constructor Detail

SocketStreamFactory.SocketStream

public SocketStreamFactory.SocketStream()
                                 throws java.io.IOException

Create a socket based on the host and port.

Throws:
java.io.IOException - Generated when the
Method Detail

getName

public java.lang.String getName()

Provides a name for the stream. This is implementation dependent, and may be the endpoints DNS hostname, an IP address, or a familiar name such as a Jabber service.

Specified by:
getName in interface XmlStream
Returns:
A name for the stream.


Copyright © 2002,2003 Real Time Entertainment Group, LLC. All Rights Reserved.