org.jboss.aerogear.simplepush.server.netty
Class UserAgent<T>
java.lang.Object
org.jboss.aerogear.simplepush.server.netty.UserAgent<T>
- Type Parameters:
T -
public class UserAgent<T>
- extends Object
Represents a UserAgent in the SimplePush Server.
|
Constructor Summary |
UserAgent(String uaid,
T transport,
long timestamp)
Sole constructor. |
UserAgent
public UserAgent(String uaid,
T transport,
long timestamp)
- Sole constructor.
- Parameters:
uaid - the unique identifier for this UserAgent.transport - the transport type that this UserAgent uses.timestamp - the time this UserAgent was created.
uaid
public String uaid()
context
public T context()
timestamp
public long timestamp()
timestamp
public void timestamp(long timestamp)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.