public class XioConnectionContext extends Object implements ConnectionContext
Constructor and Description |
---|
XioConnectionContext() |
Modifier and Type | Method and Description |
---|---|
Iterator<Map.Entry<String,Object>> |
attributeIterator() |
Object |
getAttribute(String attributeName) |
SocketAddress |
getRemoteAddress() |
Object |
removeAttribute(String attributeName) |
Object |
setAttribute(String attributeName,
Object value) |
void |
setRemoteAddress(SocketAddress remoteAddress) |
public SocketAddress getRemoteAddress()
getRemoteAddress
in interface ConnectionContext
public void setRemoteAddress(SocketAddress remoteAddress)
public Object getAttribute(String attributeName)
getAttribute
in interface ConnectionContext
public Object setAttribute(String attributeName, Object value)
setAttribute
in interface ConnectionContext
public Object removeAttribute(String attributeName)
removeAttribute
in interface ConnectionContext
public Iterator<Map.Entry<String,Object>> attributeIterator()
attributeIterator
in interface ConnectionContext
Copyright © 2016. All Rights Reserved.