Session
Related Doc:
package root
class
Session
extends
AnyRef
Source
Session.scala
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Session
AnyRef
Any
Implicitly
by any2stringadd
by StringFormat
by Ensuring
by ArrowAssoc
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Session
(
sessionId:
Long
,
socketAddress:
InetSocketAddress
,
returnActor:
ActorRef
,
sessionPipeline:
List
[
SessionPipeline
]
)
(
implicit
context:
ActorContext
,
self:
ActorRef
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
def
+
(
other:
String
)
:
String
Implicit information
This member is added by an implicit conversion from
Session
to
any2stringadd
[
Session
] performed by method any2stringadd in scala.Predef.
Definition Classes
any2stringadd
def
->
[
B
]
(
y:
B
)
: (
Session
,
B
)
Implicit information
This member is added by an implicit conversion from
Session
to
ArrowAssoc
[
Session
] performed by method ArrowAssoc in scala.Predef.
Definition Classes
ArrowAssoc
Annotations
@inline
()
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
var
bytesReceived
:
Long
var
bytesSent
:
Long
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
implicit
val
context
:
ActorContext
def
dropSession
(
graceful:
Boolean
)
:
Unit
def
ensuring
(
cond: (
Session
) ⇒
Boolean
,
msg: ⇒
Any
)
:
Session
Implicit information
This member is added by an implicit conversion from
Session
to
Ensuring
[
Session
] performed by method Ensuring in scala.Predef.
Definition Classes
Ensuring
def
ensuring
(
cond: (
Session
) ⇒
Boolean
)
:
Session
Implicit information
This member is added by an implicit conversion from
Session
to
Ensuring
[
Session
] performed by method Ensuring in scala.Predef.
Definition Classes
Ensuring
def
ensuring
(
cond:
Boolean
,
msg: ⇒
Any
)
:
Session
Implicit information
This member is added by an implicit conversion from
Session
to
Ensuring
[
Session
] performed by method Ensuring in scala.Predef.
Definition Classes
Ensuring
def
ensuring
(
cond:
Boolean
)
:
Session
Implicit information
This member is added by an implicit conversion from
Session
to
Ensuring
[
Session
] performed by method Ensuring in scala.Predef.
Definition Classes
Ensuring
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
formatted
(
fmtstr:
String
)
:
String
Implicit information
This member is added by an implicit conversion from
Session
to
StringFormat
[
Session
] performed by method StringFormat in scala.Predef.
Definition Classes
StringFormat
Annotations
@inline
()
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getPipeline
:
List
[
ActorRef
]
def
getState
:
SessionState
def
getTotalBytes
:
Long
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
var
inboundBytesPerSecond
:
Double
var
inboundPacketRate
:
Double
var
inboundPackets
:
Long
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
var
lastInboundEvent
:
Long
var
lastOutboundEvent
:
Long
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
var
outboundBytesPerSecond
:
Double
var
outboundPacketRate
:
Double
var
outboundPackets
:
Long
val
pipeline
:
List
[
ActorRef
]
val
pipelineIter
:
Iterator
[
ActorRef
]
def
receive
(
packet:
RawPacket
)
:
Unit
implicit
val
self
:
ActorRef
def
send
(
packet:
ByteVector
)
:
Unit
val
sessionCreatedTime
:
com.github.nscala_time.time.Imports.DateTime
var
sessionEndedTime
:
com.github.nscala_time.time.Imports.DateTime
val
sessionId
:
Long
def
setState
(
newState:
SessionState
)
:
Unit
val
socketAddress
:
InetSocketAddress
var
state
:
SessionState
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
timeSinceLastInboundEvent
:
Long
def
timeSinceLastOutboundEvent
:
Long
def
toString
()
:
String
Definition Classes
Session
→ AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
→
[
B
]
(
y:
B
)
: (
Session
,
B
)
Implicit information
This member is added by an implicit conversion from
Session
to
ArrowAssoc
[
Session
] performed by method ArrowAssoc in scala.Predef.
Definition Classes
ArrowAssoc
Inherited from
AnyRef
Inherited from
Any
Inherited by implicit conversion any2stringadd from
Session
to
any2stringadd
[
Session
]
Inherited by implicit conversion StringFormat from
Session
to
StringFormat
[
Session
]
Inherited by implicit conversion Ensuring from
Session
to
Ensuring
[
Session
]
Inherited by implicit conversion ArrowAssoc from
Session
to
ArrowAssoc
[
Session
]
Ungrouped