public static class HostConnectionInfo.BasicEventImpl extends Object implements HostConnectionInfo.Event
| Constructor and Description |
|---|
BasicEventImpl(HostConnectionInfo.EventType type,
String address) |
| Modifier and Type | Method and Description |
|---|---|
HostConnectionInfo.EventType |
getEventType()
Get the type of event.
|
String |
getPeerAddress()
Get the remote address
|
long |
getTimestamp()
The timestamp the even occurred.
|
void |
toModelNode(org.jboss.dmr.ModelNode target)
Fill DMR.
|
public BasicEventImpl(HostConnectionInfo.EventType type, String address)
public HostConnectionInfo.EventType getEventType()
HostConnectionInfo.EventgetEventType in interface HostConnectionInfo.Eventpublic String getPeerAddress()
HostConnectionInfo.EventgetPeerAddress in interface HostConnectionInfo.Eventpublic long getTimestamp()
HostConnectionInfo.EventgetTimestamp in interface HostConnectionInfo.Eventpublic void toModelNode(org.jboss.dmr.ModelNode target)
HostConnectionInfo.EventtoModelNode in interface HostConnectionInfo.Eventtarget - the target modelCopyright © 2016 JBoss by Red Hat. All rights reserved.