AeroGear SimplePush Server Netty 0.11.0

org.jboss.aerogear.simplepush.server.netty
Class UserAgent<T>

java.lang.Object
  extended by 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.
 
Method Summary
 T context()
           
 long timestamp()
           
 void timestamp(long timestamp)
           
 String toString()
           
 String uaid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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

AeroGear SimplePush Server Netty 0.11.0

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.