net.sf.cindy
Interface Packet

All Known Implementing Classes:
DefaultPacket, DelegatePacket, PriorityPacket

public interface Packet

Packet contains content and address.

Version:
$id$
Author:
Roger Chen

Method Summary
 java.net.SocketAddress getAddress()
          Get the socket address of the packet.
 Buffer getContent()
          Get the content of the packet.
 

Method Detail

getAddress

java.net.SocketAddress getAddress()
Get the socket address of the packet.

Returns:
the socket address

getContent

Buffer getContent()
Get the content of the packet.

Returns:
content