org.subethamail.smtp.server
Class TimeBasedSessionIdFactory
java.lang.Object
org.subethamail.smtp.server.TimeBasedSessionIdFactory
- All Implemented Interfaces:
- SessionIdFactory
@ThreadSafe
public class TimeBasedSessionIdFactory
- extends Object
- implements SessionIdFactory
TimeBasedSessionIdFactory is a very simple SessionIdFactory, which
assigns numeric identifiers based on the current milliseconds time, amending
it as necessary to make it unique.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeBasedSessionIdFactory
public TimeBasedSessionIdFactory()
create
public String create()
- Description copied from interface:
SessionIdFactory
- Returns a new identifier.
- Specified by:
create in interface SessionIdFactory
Copyright © 2006-2012. All Rights Reserved.