Smack

org.jivesoftware.smackx.packet
Class Bytestream.Mode

java.lang.Object
  extended by org.jivesoftware.smackx.packet.Bytestream.Mode
Enclosing class:
Bytestream

public static class Bytestream.Mode
extends Object

The stream can be either a TCP stream or a UDP stream.

Author:
Alexander Wenckus

Field Summary
static Bytestream.Mode TCP
          A TCP based stream.
static Bytestream.Mode UDP
          A UDP based stream.
 
Method Summary
 boolean equals(Object obj)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TCP

public static Bytestream.Mode TCP
A TCP based stream.


UDP

public static Bytestream.Mode UDP
A UDP based stream.

Method Detail

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

Smack

Copyright © 2003-2007 Jive Software.