public class ServiceRegistration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
LEASE_TIME
Lease time in ms
|
Constructor and Description |
---|
ServiceRegistration()
Empty Constructor for Bean-serialization.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
IServiceIdentifier |
getSid()
Get the SID
|
long |
getTimestamp()
Get the timestamp.
|
int |
hashCode() |
void |
setSid(IServiceIdentifier sid)
Set the sid
|
void |
setTimestamp(long timestamp)
Set the timestamp.
|
java.lang.String |
toString() |
public static final int LEASE_TIME
public ServiceRegistration()
public IServiceIdentifier getSid()
public void setSid(IServiceIdentifier sid)
sid
- public long getTimestamp()
public void setTimestamp(long timestamp)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object