RuneHive-Tarnish
Neural OSRS Enhancement Framework
|
Public Member Functions | |
Session (Channel channel) | |
final void | close () |
void | handleClientPacket (Object o) |
Channel | getChannel () |
String | getHost () |
Protected Member Functions | |
void | onClose (ChannelFuture future) |
Protected Attributes | |
final Channel | channel |
final String | host |
Represents a session between a user and the server.
Definition at line 45 of file Session.java.
|
inline |
Creates a new Session
.
channel | The channel that is attached to this session. |
Definition at line 63 of file Session.java.
|
inline |
The method to close this session.
Definition at line 71 of file Session.java.
|
inline |
Gets the underlying Channel
for this Session
.
Definition at line 100 of file Session.java.
|
inline |
Gets the users host address
Definition at line 107 of file Session.java.
|
inline |
The method that is called when the client sends packets to the server.
o | The vague object packet. |
Reimplemented in com.osroyale.net.session.GameSession, and com.osroyale.net.session.LoginSession.
Definition at line 91 of file Session.java.
|
inlineprotected |
The method called after a session has been closed.
future | The result of the session being closed. |
Reimplemented in com.osroyale.net.session.GameSession.
Definition at line 81 of file Session.java.
|
protected |
The channel attached to this session.
Definition at line 50 of file Session.java.
|
protected |
The users host address.
Definition at line 55 of file Session.java.