| Modifier and Type | Field and Description |
|---|---|
static String |
TOKEN_RESERVATION_SESSION |
| Constructor and Description |
|---|
TokenWrapper() |
TokenWrapper(Token token,
AgentRef agent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AgentRef |
getAgent() |
Map<String,String> |
getAttributes() |
TokenWrapperOwner |
getCurrentOwner() |
String |
getID() |
Map<String,Interest> |
getInterests() |
TokenWrapperState |
getState() |
Token |
getToken() |
TokenHealth |
getTokenHealth() |
int |
hashCode() |
boolean |
hasSession() |
protected void |
performAtomically(Runnable runnable) |
void |
setAgent(AgentRef agent) |
void |
setCurrentOwner(TokenWrapperOwner currentOwner) |
void |
setHasSession(boolean hasSession) |
protected void |
setState(TokenWrapperState state) |
void |
setToken(Token token) |
String |
toString() |
public static final String TOKEN_RESERVATION_SESSION
public Map<String,String> getAttributes()
getAttributes in interface Identitypublic Map<String,Interest> getInterests()
getInterests in interface Identitypublic Token getToken()
public AgentRef getAgent()
public TokenWrapperOwner getCurrentOwner()
public void setCurrentOwner(TokenWrapperOwner currentOwner)
public void setToken(Token token)
public void setAgent(AgentRef agent)
public boolean hasSession()
public void setHasSession(boolean hasSession)
public TokenHealth getTokenHealth()
public TokenWrapperState getState()
protected void setState(TokenWrapperState state)
protected void performAtomically(Runnable runnable)
Copyright © 2019. All rights reserved.