KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jivesoftware > messenger > StreamIDFactory


1 /**
2  * $RCSfile: StreamIDFactory.java,v $
3  * $Revision: 1.2 $
4  * $Date: 2004/10/25 23:41:56 $
5  *
6  * Copyright (C) 2004 Jive Software. All rights reserved.
7  *
8  * This software is published under the terms of the GNU Public License (GPL),
9  * a copy of which is included in this distribution.
10  */

11
12 package org.jivesoftware.messenger;
13
14 /**
15  * Generates stream ids in different ways depending on the server set up.
16  *
17  * @author Iain Shigeoka
18  */

19 public interface StreamIDFactory {
20
21     /**
22      * Generate a stream id.
23      *
24      * @return A new, unique stream id
25      */

26     public StreamID createStreamID();
27 }
28
Popular Tags