public class UscSessionTransactionEvent extends UscTransactionEvent
Constructor and Description |
---|
UscSessionTransactionEvent(String deviceId,
String type,
String sessionId,
long bytesIn,
long bytesOut)
create session transaction event
|
UscSessionTransactionEvent(UscSession session,
long bytesIn,
long bytesOut)
create session transaction event
|
Modifier and Type | Method and Description |
---|---|
String |
getSessionId()
get the id of session which transaction happens
|
String |
toString() |
getBytesIn, getBytesOut
getDeviceId, getType
public UscSessionTransactionEvent(String deviceId, String type, String sessionId, long bytesIn, long bytesOut)
type
- channel typedeviceId
- device id which can identify the channel which contains the
sessionsessionId
- session id which can identify a sessionbytesIn
- bytes in numberbytesOut
- bytes out numberpublic UscSessionTransactionEvent(UscSession session, long bytesIn, long bytesOut)
session
- the session which transaction happensbytesIn
- bytes in numberbytesOut
- bytes out numberpublic String getSessionId()
public String toString()
toString
in class UscTransactionEvent
Copyright © 2019 OpenDaylight. All rights reserved.