final XStreamExtensionProvider<? extends DefaultSessionInfo> extProv,
final SessionIDObservable sessionID) {
return new AndFilter(extProv.getPacketFilter(), new PacketFilter() {
public boolean accept(Packet packet) {
DefaultSessionInfo info = extProv.getPayload(packet);
if (info == null) {
log.error("Invalid payload in packet: " + packet);
return false;
}