public class APIConnectionRecord extends Object
Constructor and Description |
---|
APIConnectionRecord(ConnectionRecord record)
Creates a new APIConnectionRecord, copying the data from the given
record.
|
Modifier and Type | Method and Description |
---|---|
Date |
getEndDate()
Returns the date and time the connection ended, if applicable.
|
String |
getRemoteHost()
Returns the remote host from which this connection originated.
|
Date |
getStartDate()
Returns the date and time the connection began.
|
String |
getUsername()
Returns the name of the user who used or is using the connection at the
times given by this connection record.
|
boolean |
isActive()
Returns whether the connection associated with this record is still
active.
|
public APIConnectionRecord(ConnectionRecord record)
record
- The record to copy data from.public Date getStartDate()
public Date getEndDate()
public String getRemoteHost()
public String getUsername()
public boolean isActive()
Copyright © 2015. All rights reserved.