Package net.ME1312.SubData.Client
Interface SubDataSender
- All Superinterfaces:
DataSender
- All Known Implementing Classes:
ForwardedDataSender
,SubDataClient
SubData Data Sender Layout Class
-
Method Summary
Modifier and TypeMethodDescriptionGet the Client that connects this Sender to usGet the Protocol used by this Sendervoid
sendPacket
(PacketOut... packets) Send a packet to the SenderMethods inherited from interface net.ME1312.SubData.Client.DataSender
getID, ping, sendMessage
-
Method Details
-
sendPacket
Send a packet to the Sender- Parameters:
packets
- Packets to send
-
getConnection
SubDataClient getConnection()Get the Client that connects this Sender to us- Specified by:
getConnection
in interfaceDataSender
- Returns:
- Client
-
getProtocol
SubDataProtocol getProtocol()Get the Protocol used by this Sender- Specified by:
getProtocol
in interfaceDataSender
- Returns:
- Sender Protocol
-