Package tigase.component
Class AbstractKernelBasedComponent.DefaultPacketWriter
java.lang.Object
tigase.component.AbstractKernelBasedComponent.DefaultPacketWriter
- All Implemented Interfaces:
PacketWriter
- Enclosing class:
- AbstractKernelBasedComponent
@Bean(name="writer",
active=true)
public static final class AbstractKernelBasedComponent.DefaultPacketWriter
extends Object
implements PacketWriter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(Collection<Packet> elements) Writes collection of Packets.void
Writes single Packet.void
write
(Packet packet, AsyncCallback callback)
-
Field Details
-
log
-
-
Constructor Details
-
DefaultPacketWriter
public DefaultPacketWriter()
-
-
Method Details
-
write
Description copied from interface:PacketWriter
Writes collection of Packets.- Specified by:
write
in interfacePacketWriter
- Parameters:
elements
- collection of Packets to be written.
-
write
Description copied from interface:PacketWriter
Writes single Packet.- Specified by:
write
in interfacePacketWriter
- Parameters:
packet
-Packet
to be written.
-
write
- Specified by:
write
in interfacePacketWriter
-