public PacketFilter getInitiationPacketFilter(String from, String streamID) { return new AndFilter(new FromContainsFilter( from), new IBBOpenSidFilter(streamID)); }
public PacketFilter getInitiationPacketFilter(String from, String streamID) { /* * this method is always called prior to #negotiateIncomingStream() so * the In-Band Bytestream initiation listener must ignore the next * In-Band Bytestream request with the given session ID */ this.manager.ignoreBytestreamRequestOnce(streamID); return new AndFilter(new FromContainsFilter(from), new IBBOpenSidFilter(streamID)); }
public PacketFilter getInitiationPacketFilter(String from, String streamID) { /* * this method is always called prior to #negotiateIncomingStream() so * the In-Band Bytestream initiation listener must ignore the next * In-Band Bytestream request with the given session ID */ this.manager.ignoreBytestreamRequestOnce(streamID); return new AndFilter(new FromContainsFilter(from), new IBBOpenSidFilter(streamID)); }
public PacketFilter getInitiationPacketFilter(String from, String streamID) { /* * this method is always called prior to #negotiateIncomingStream() so * the In-Band Bytestream initiation listener must ignore the next * In-Band Bytestream request with the given session ID */ this.manager.ignoreBytestreamRequestOnce(streamID); return new AndFilter(new FromContainsFilter(from), new IBBOpenSidFilter(streamID)); }