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.Event
getEventType
in interface HostConnectionInfo.Event
public String getPeerAddress()
HostConnectionInfo.Event
getPeerAddress
in interface HostConnectionInfo.Event
public long getTimestamp()
HostConnectionInfo.Event
getTimestamp
in interface HostConnectionInfo.Event
public void toModelNode(org.jboss.dmr.ModelNode target)
HostConnectionInfo.Event
toModelNode
in interface HostConnectionInfo.Event
target
- the target modelCopyright © 2023 JBoss by Red Hat. All rights reserved.