Uses of Interface
com.github.steveice10.packetlib.Session
Packages that use Session
Package
Description
-
Uses of Session in com.github.steveice10.mc.protocol
Methods in com.github.steveice10.mc.protocol with parameters of type SessionModifier and TypeMethodDescriptionvoidCalled when a session completes the initial login process and is now in theProtocolState.GAME.voidMinecraftProtocol.newClientSession(Session session) voidMinecraftProtocol.newServerSession(Server server, Session session) voidClientListener.packetReceived(Session session, Packet packet) voidServerListener.packetReceived(Session session, Packet packet) voidClientListener.packetSent(Session session, Packet packet) voidServerListener.packetSent(Session session, Packet packet) -
Uses of Session in com.github.steveice10.mc.protocol.codec
Methods in com.github.steveice10.mc.protocol.codec with parameters of type SessionModifier and TypeMethodDescriptionvoidPacketStateCodec.newClientSession(Session session) voidPacketStateCodec.newServerSession(Server server, Session session) -
Uses of Session in com.github.steveice10.mc.protocol.data.status.handler
Methods in com.github.steveice10.mc.protocol.data.status.handler with parameters of type SessionModifier and TypeMethodDescriptionvoidServerInfoHandler.handle(Session session, ServerStatusInfo info) void -
Uses of Session in com.github.steveice10.packetlib
Methods in com.github.steveice10.packetlib that return types with arguments of type SessionModifier and TypeMethodDescriptionAbstractServer.getSessions()Server.getSessions()Gets all sessions belonging to this server.Methods in com.github.steveice10.packetlib with parameters of type SessionModifier and TypeMethodDescriptionvoidAbstractServer.addSession(Session session) voidAbstractServer.removeSession(Session session) -
Uses of Session in com.github.steveice10.packetlib.event.server
Methods in com.github.steveice10.packetlib.event.server that return SessionModifier and TypeMethodDescriptionSessionAddedEvent.getSession()Gets the session involved in this event.SessionRemovedEvent.getSession()Gets the session involved in this event.Constructors in com.github.steveice10.packetlib.event.server with parameters of type SessionModifierConstructorDescriptionSessionAddedEvent(Server server, Session session) Creates a new SessionAddedEvent instance.SessionRemovedEvent(Server server, Session session) Creates a new SessionRemovedEvent instance. -
Uses of Session in com.github.steveice10.packetlib.event.session
Methods in com.github.steveice10.packetlib.event.session that return SessionModifier and TypeMethodDescriptionConnectedEvent.getSession()Gets the session involved in this event.DisconnectedEvent.getSession()Gets the session involved in this event.DisconnectingEvent.getSession()Gets the session involved in this event.PacketErrorEvent.getSession()Gets the session involved in this event.PacketSendingEvent.getSession()Gets the session involved in this event.Methods in com.github.steveice10.packetlib.event.session with parameters of type SessionModifier and TypeMethodDescriptionvoidSessionAdapter.packetReceived(Session session, Packet packet) voidSessionListener.packetReceived(Session session, Packet packet) Called when a session receives a packet.voidSessionAdapter.packetSent(Session session, Packet packet) voidSessionListener.packetSent(Session session, Packet packet) Called when a session sends a packet.Constructors in com.github.steveice10.packetlib.event.session with parameters of type SessionModifierConstructorDescriptionConnectedEvent(Session session) Creates a new ConnectedEvent instance.DisconnectedEvent(Session session, net.kyori.adventure.text.Component reason, Throwable cause) Creates a new DisconnectedEvent instance.DisconnectingEvent(Session session, net.kyori.adventure.text.Component reason, Throwable cause) Creates a new DisconnectingEvent instance.PacketErrorEvent(Session session, Throwable cause) Creates a new SessionErrorEvent instance.PacketSendingEvent(Session session, Packet packet) Creates a new PacketSendingEvent instance. -
Uses of Session in com.github.steveice10.packetlib.packet
Methods in com.github.steveice10.packetlib.packet with parameters of type SessionModifier and TypeMethodDescriptionabstract voidPacketProtocol.newClientSession(Session session) Called when a client session is created with this protocol.abstract voidPacketProtocol.newServerSession(Server server, Session session) Called when a server session is created with this protocol. -
Uses of Session in com.github.steveice10.packetlib.tcp
Classes in com.github.steveice10.packetlib.tcp that implement SessionConstructors in com.github.steveice10.packetlib.tcp with parameters of type SessionModifierConstructorDescriptionTcpPacketCodec(Session session, boolean client) TcpPacketCompression(Session session, boolean validateDecompression) TcpPacketSizer(Session session, int size)