public final class EtpAccess extends Object
Access events are retrieved by installing an EtpAccessListener
in the EtpServer
instance.
This class is immutable.
Modifier and Type | Method and Description |
---|---|
EtpSession |
getEtpSession()
Return ETP session of this access.
|
EtpMessageHeader |
getMessageHeader()
Return message header.
|
String |
getMessageText()
Return the message itself.
|
long |
getTime()
Return exact time of message.
|
boolean |
isFromClient()
Check if the message is from client to server (true)
or from server to client (false).
|
String |
toString() |
public EtpSession getEtpSession()
public long getTime()
public boolean isFromClient()
public EtpMessageHeader getMessageHeader()
public String getMessageText()
Copyright © 2023 Petroware AS - https://petroware.no