tigase.jaxmpp.core.client
Class UIDGenerator

java.lang.Object
  extended by tigase.jaxmpp.core.client.UIDGenerator

public abstract class UIDGenerator
extends Object

Unique IDs generator. Used for attribute 'id' in stanzas.

Author:
bmalkow

Constructor Summary
UIDGenerator()
           
 
Method Summary
static String next()
          Generate next id;
protected abstract  String nextUID()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIDGenerator

public UIDGenerator()
Method Detail

next

public static String next()
Generate next id;

Returns:
unique id

nextUID

protected abstract String nextUID()


Copyright © 2006-2012 Tigase. All Rights Reserved.