|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object netcom.util.BloomUpdate
Title: Bloom Update Packet
Description: This object holds an index list of bits which should be flipped from an origional BloomFilter. It also holds a Datagram Packet with this information encoded as well
Copyright: Copyright (c) 2002
Company: NETCOM
BloomFilter
Constructor Summary | |
BloomUpdate(java.net.DatagramPacket bloom_packet)
constructor to create a BloomUpdate object from an incoming datagram packet that has been created from another BloomUpdate object |
|
BloomUpdate(int[] changed_indexes)
Constructor to create a BloomUpdate object from a predefined array of changed indexes |
Method Summary | |
java.net.DatagramPacket |
getDatagram(AddressPort dest_address)
Getter to actually get the Datagram Packet representation of this BloomUpdate |
int[] |
getIndexList()
Getter method to retrieve the ArrayList of flipped indexes |
int |
getPort()
Getter method for the port |
java.lang.String |
toString()
toString() method for debugging purposes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BloomUpdate(int[] changed_indexes)
changed_indexes
- int array representing changed indexespublic BloomUpdate(java.net.DatagramPacket bloom_packet)
bloom_packet
- The incoming datagram packetMethod Detail |
public int getPort()
public java.net.DatagramPacket getDatagram(AddressPort dest_address)
public int[] getIndexList()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |