A B C D E F G H I K L M N O P Q R S T U V W _

A

ALGORITHM - Static variable in class ucr.app.CONFIG
 
add2HashMap(String) - Static method in class ucr.app.CONFIG
 
add2PeersAlive(String) - Static method in class ucr.app.QueryNodeReceiver
Keeps a log of which peers have responded to any query so far
add2connections(NodeConnection, int) - Method in class ucr.core.ProfileTableEntry
 
addConnection(NodeConnection) - Method in class ucr.core.ConnectionList
Adds a connection
addDataSource(int) - Method in class ucr.graphgen.Node
 
addFileRecord(FileRecord) - Method in class ucr.core.SearchReplyMessage
Adds a file record.
addFileRecord(TraceRecord) - Method in class ucr.core.TraceReplyMessage
Adds a file record.
addHost(Host) - Method in class ucr.core.HostCache
 
addPayload(short[]) - Method in class ucr.core.Message
Add a payload to the message
addPayload(byte[]) - Method in class ucr.core.Message
Add a payload to the message
addSearchMessageReceiver(MessageReceiver) - Method in class ucr.core.Router
Adds a search listener
add_CT_COUNTRY_IP(String) - Method in class ucr.graphgen.Node
 
add_CT_COUNTRY_PORT(int) - Method in class ucr.graphgen.Node
 
add_query(GUID) - Method in class ucr.core.Connection
 
add_query(String, GUID) - Method in class ucr.core.ProfileTableMng
 
add_queryhit(GUID, NodeConnection, int) - Method in class ucr.core.ProfileTableMng
 
allVisited(boolean[]) - Method in class ucr.core.Router
 
appendFile(String, String) - Static method in class ucr.app.IO
 
appendFile(String, String) - Static method in class ucr.graphgen.IO
 
appendFile(String, String) - Static method in class ucr.lucenetools.IO
 

B

BFS_PEERS_TO_SEND - Static variable in class ucr.app.CONFIG
 
BoundedQueue - class ucr.core.BoundedQueue.
A Queue supporting standard enqueue/dequeue operations with a maximum permitted size.
BoundedQueue(int) - Constructor for class ucr.core.BoundedQueue
Constructs a BoundedQueue with a max size
bffCurrentLength - Static variable in class ucr.core.CONFIG
 
bffHT - Static variable in class ucr.core.CONFIG
 
bootTime - Static variable in class ucr.core.Utilities
 
bufferSIZE - Static variable in class ucr.core.CONFIG
 
buildPayload() - Method in class ucr.core.SearchMessage
Contructs the payload for the search message Bytes 0-1 download speed followed by search query (null terminated)
buildPayload() - Method in class ucr.core.SearchReplyMessage
Contructs the payload for the search reply message
buildPayload() - Method in class ucr.core.TraceMessage
Contructs the payload for the trace message (no payload at all)
buildPayload() - Method in class ucr.core.TraceReplyMessage
Contructs the payload for the search reply message Used when SENDING a message
buildVector() - Method in class ucr.core.TraceReplyMessage
 

C

CONFIG - class ucr.app.CONFIG.
 
CONFIG() - Constructor for class ucr.app.CONFIG
 
CONFIG - class ucr.core.CONFIG.
Routes messages read from the network to appropriate Connections
CONFIG() - Constructor for class ucr.core.CONFIG
 
CONFIG - class ucr.graphgen.CONFIG.
 
CONFIG() - Constructor for class ucr.graphgen.CONFIG
 
CONNECTION_INCOMING - Static variable in class ucr.core.Connection
Connection created by another servant
CONNECTION_OUTGOING - Static variable in class ucr.core.Connection
Connection created be JTella servant
CRLF - Static variable in class ucr.core.Connection
 
Comparer - interface ucr.core.Comparer.
 
Connected_TO - Variable in class ucr.graphgen.Node
 
Connected_TO_COUNTRY_IP - Variable in class ucr.graphgen.Node
 
Connected_TO_COUNTRY_PORT - Variable in class ucr.graphgen.Node
 
Connected_TO_ID - Variable in class ucr.graphgen.Node
 
Connection - class ucr.core.Connection.
Represents a connection to an application communicating with the GNUTella protocol
Connection(Router, String, int, ConnectionData) - Constructor for class ucr.core.Connection
Construct the Connection using host/port information
Connection(Router, Socket, ConnectionData) - Constructor for class ucr.core.Connection
Construct the connection with an existing socket
ConnectionData - class ucr.core.ConnectionData.
Provides a linkage between the Servant and JTella.
ConnectionData() - Constructor for class ucr.core.ConnectionData
 
ConnectionList - class ucr.core.ConnectionList.
Contains the set of current connections, the node connections can be in different states, not all may be active
ConnectionList() - Constructor for class ucr.core.ConnectionList
 
ConnectionManager - class ucr.core.ConnectionManager.
Base class for connection managers
ConnectionManager(Router, ConnectionList, ConnectionData) - Constructor for class ucr.core.ConnectionManager
Connection management constructor
Cosine - class ucr.core.Cosine.
 
Cosine() - Constructor for class ucr.core.Cosine
 
Country(int, String, int) - Method in class ucr.graphgen.Node
 
c - Static variable in class ucr.app.QueryNode
 
cleanDeadConnections(int) - Method in class ucr.core.ConnectionList
Remove any dead connections from the list
clearPDOM(String) - Method in class ucr.lucenetools.Parser
 
clientID - Static variable in class ucr.core.Utilities
 
close() - Method in class ucr.core.SearchMonitorSession
Close the session, discontinue monitoring
close() - Method in class ucr.core.ServerSession
Closes the session
close() - Method in class ucr.core.Session
Close the session, ignore future query hits
closeServerSocket() - Method in class ucr.core.IncomingConnectionManager
 
compare(Object, Object) - Method in interface ucr.core.Comparer
The interface implementation should compare the two objects and return an int using these rules: if (a > b) return > 0; if (a == b) return 0; if (a < b) return < 0;
compare(Object, Object) - Method in class ucr.core.ResultsQSort
 
conn - Variable in class ucr.app.Peer
 
connection - Variable in class ucr.core.RouteMessage
 
connection - Variable in class ucr.core.Session
 
connectionData - Variable in class ucr.core.Connection
 
connectionData - Variable in class ucr.core.ConnectionManager
 
connectionData - Static variable in class ucr.core.NetConnection
 
connectionGreeting - Variable in class ucr.core.ConnectionData
 
connectionList - Variable in class ucr.core.ConnectionManager
 
connectionList - Variable in class ucr.core.NetConnection
 
connectionList - Variable in class ucr.core.Router
 
connectionThread - Variable in class ucr.core.Connection
 
connections - Variable in class ucr.core.ProfileTableEntry
 
connectionsSize() - Method in class ucr.core.ProfileTableEntry
 
connfrom - Variable in class ucr.core.ProfileTableEntry.ConnectionEntry
 
contains(String) - Method in class ucr.core.ConnectionList
Check if a connection exists to a host
contains(Host) - Method in class ucr.core.ConnectionList
Check if a connection exists to a host
containsGUID(GUID) - Method in class ucr.core.OriginateTable
Check if MessageReceiver exists for guid This is equivalent to checking if we sent a message
containsGUID(GUID) - Method in class ucr.core.RouteTable
Check if Connection history exists for guid
cosineSimilarity(ProfileTableEntry, ProfileTableEntry) - Method in class ucr.core.ProfileTableMng
 
counter - Static variable in class ucr.core.Utilities
 
createDataReplication() - Static method in class ucr.graphgen.main
 
createMessage(short[], Connection) - Static method in class ucr.core.MessageFactory
Factory method providing messages
createServerSession(MessageReceiver) - Method in class ucr.core.NetConnection
Creates a file serving session.
createServerSocket() - Method in class ucr.core.IncomingConnectionManager
Creates a ServerSocket using an alternate port if needed
createSession(MessageReceiver) - Method in class ucr.core.NetConnection
Creates a trace to find out information about the neighborhood
create_qtable() - Method in class ucr.core.ProfileTableEntry
 
criteria - Variable in class ucr.core.SearchMessage
 
currentConnectionList - Variable in class ucr.core.ConnectionList
 

D

DATASOURCES - Static variable in class ucr.app.CONFIG
 
DFS(boolean[], Stack) - Static method in class ucr.graphgen.main
 
DISKs - Static variable in class ucr.graphgen.CONFIG
 
DROP_CHECK - Static variable in class ucr.app.CONFIG
 
DROP_CHECK - Variable in class ucr.core.ConnectionData
 
DROP_RATE - Static variable in class ucr.app.CONFIG
 
DROP_RATE - Variable in class ucr.core.Connection
 
DROP_RATE - Variable in class ucr.core.ConnectionData
 
data - Variable in class ucr.core.GUID
 
dataDist - Static variable in class ucr.graphgen.main
 
databases - Static variable in class ucr.graphgen.main
 
deleteFile(String) - Static method in class ucr.app.IO
 
deleteFile(String) - Static method in class ucr.graphgen.IO
 
deleteFile(String) - Static method in class ucr.lucenetools.IO
 
dequeue() - Method in class ucr.core.BoundedQueue
Removes an object from the queue
desiredConnectionCount - Variable in class ucr.core.ConnectionManager
 
doc - Static variable in class ucr.lucenetools.Parser
 
drop_check_waiting - Variable in class ucr.core.OutgoingConnectionManager
 
dumpDistribution() - Method in class ucr.app.IO
 
dumpFULLTables(int) - Static method in class ucr.app.QueryNode
 
dumpTable() - Method in class ucr.core.Connection
 

E

ESTIMATED_PEER_SIZE - Static variable in class ucr.graphgen.CONFIG
 
empty() - Method in class ucr.core.BoundedQueue
Check if the queue is empty
empty - Variable in class ucr.core.ProfileTableEntry
 
endTime - Variable in class ucr.app.QueryNodeReceiver
 
enqueue(Object) - Method in class ucr.core.BoundedQueue
Enqueue an object
ensureDirExist(String) - Static method in class ucr.app.IO
 
ensureDirExist(String) - Static method in class ucr.graphgen.IO
 
ensureDirExist(String) - Static method in class ucr.lucenetools.IO
 
equals(Object) - Method in class ucr.core.GUID
Compare guids
equals(Object) - Method in class ucr.core.Host
Equals comparison
errorFile - Static variable in class ucr.core.Log
 

F

FileRecord - class ucr.core.FileRecord.
Represents information about a single file served
FileRecord(int, int, String) - Constructor for class ucr.core.FileRecord
Constructs a record describing a shared file
fileName - Static variable in class ucr.lucenetools.Parser
 
fileRecords - Variable in class ucr.core.SearchReplyMessage
 
filename - Variable in class ucr.core.FileRecord
 
filenameIndex - Static variable in class ucr.core.CONFIG
 
findGUIDidx(GUID) - Method in class ucr.core.ProfileTableMng
 
finished() - Static method in class ucr.app.QueryNode
Prints on the screen periodically the number of incoming/ougoing connections and saves to disk the current result.
fireQueryMessage(SearchMessage) - Method in class ucr.core.Router
Sends a search message to listeners
fireSearchMessage(SearchMessage) - Method in class ucr.core.Router
Sends a search message to listeners
fireSearchReplyMessage(SearchReplyMessage, String, int) - Method in class ucr.core.Router
Sends a searchereply message to listeners
fireTraceMessage(TraceMessage) - Method in class ucr.core.Router
Sends a trace message to listeners
flushIndex2disk() - Static method in class ucr.core.CONFIG
 
format() - Method in class ucr.core.ProfileTableEntry
 
fos - Static variable in class ucr.graphgen.main
 
free_slot - Variable in class ucr.graphgen.Node
 
fromconn - Variable in class ucr.core.ResultsEntry
 

G

GUID - class ucr.core.GUID.
Represents a unique ID
GUID() - Constructor for class ucr.core.GUID
Construct a new GUID
GUID(short[]) - Constructor for class ucr.core.GUID
Create a guid from network data
GUIDList - Variable in class ucr.core.Session
 
GUIDreceived - Variable in class ucr.app.PeerReceiver
 
GUIDs - Variable in class ucr.core.Connection
 
gen() - Static method in class ucr.core.UniqueIDGenerator
Generates a value that remotely resembles a windows GUID
generateGUID() - Static method in class ucr.core.Utilities
Generate something remotely resembling a windows guid
generateNewGraph() - Static method in class ucr.graphgen.main
 
generateRandomSet(int, int) - Method in class ucr.core.Router
 
get(GUID) - Method in class ucr.core.OriginateTable
Get a message receiver for a GUID
get(GUID) - Method in class ucr.core.RouteTable
Retrieves a Connection for a GUID
getALLCriterionNodes(String) - Method in class ucr.lucenetools.Parser
 
getActiveConnectionCount(int) - Method in class ucr.core.ConnectionList
Gets a count of the active (running outgoing connections)
getActiveConnections() - Method in class ucr.core.ConnectionList
Get active outgoing and incoming connections
getActiveConnections(int) - Method in class ucr.core.ConnectionList
Gets the active outgoing connections
getActiveIncomingConnectionCount() - Method in class ucr.core.ConnectionList
Get the count of active incoming connections
getActiveIncomingConnections() - Method in class ucr.core.ConnectionList
Gets the active incoming connections
getActiveOutgoingConnectionCount() - Method in class ucr.core.ConnectionList
Gets a count of the active (running outgoing connections)
getActiveOutgoingConnections() - Method in class ucr.core.ConnectionList
Gets the active outgoing connections
getAverageDegree() - Static method in class ucr.graphgen.main
 
getByteArray() - Method in class ucr.core.Message
Produces a byte[] suitable for GNUTELLA network
getByteArray() - Method in class ucr.core.SearchReplyMessage
Produces a byte[] suitable for GNUTELLA network
getByteArray() - Method in class ucr.core.TraceReplyMessage
Produces a byte[] suitable for GNUTELLA network
getBytes() - Method in class ucr.core.FileRecord
Flatten the FileRecord
getBytes() - Method in class ucr.core.TraceRecord
Flatten the FileRecord
getClientGUID() - Static method in class ucr.core.Utilities
Returns the client guid in the form of the wrapper GUID
getClientIdentifier() - Method in class ucr.core.SearchReplyMessage
Retrieve the client GUID for the replying servant
getClientIdentifier() - Static method in class ucr.core.Utilities
Generate something resembling a guid for this host
getConnectedServant() - Method in class ucr.core.Connection
Get the connected host
getConnection(int) - Method in class ucr.core.ProfileTableEntry
 
getConnection() - Method in class ucr.core.RouteMessage
 
getConnectionData() - Method in class ucr.core.NetConnection
Get the ConnectionData settings
getConnectionGreeting() - Method in class ucr.core.ConnectionData
Get the connection handshake greeting
getConnectionHits(int) - Method in class ucr.core.ProfileTableEntry
 
getConnectionList() - Method in class ucr.core.ConnectionManager
Gets the list of connections
getConnectionList() - Method in class ucr.core.NetConnection
Gets the current list of connections to GNUTella
getConnectionList() - Method in class ucr.core.Router
 
getConnections() - Method in class ucr.core.NetConnection
Get the connection list
getData() - Method in class ucr.core.GUID
Query the bytes in this GUID
getDataSources() - Method in class ucr.graphgen.Node
 
getDataSourcesVector() - Method in class ucr.graphgen.Node
 
getDesiredConnectionCount() - Method in class ucr.core.ConnectionManager
Get the desired connection count
getDirFileNames(String) - Static method in class ucr.graphgen.IO
 
getDirFileNames(String) - Static method in class ucr.lucenetools.IO
 
getDownloadSpeed() - Method in class ucr.core.SearchReplyMessage
Returns the replying host's connection bandwidth
getDropCheck() - Method in class ucr.core.ConnectionData
 
getDropRate() - Method in class ucr.core.ConnectionData
 
getDumpedHostList() - Method in class ucr.core.HostCache
returns a string representation of the current connections
getEdges() - Static method in class ucr.graphgen.main
 
getFileCount() - Method in class ucr.core.SearchReplyMessage
Query the umber of files found for the search
getFileNameContent(String) - Static method in class ucr.lucenetools.IO
 
getFileNames(String, String) - Static method in class ucr.graphgen.IO
 
getFileNames(String, String) - Static method in class ucr.lucenetools.IO
 
getFileRecord(int) - Method in class ucr.core.SearchReplyMessage
Get information about the files found
getFileRecordBounds() - Method in class ucr.core.SearchReplyMessage
Method to determine the ending ending for file data.
getGUID() - Method in class ucr.core.Message
Query the GUID
getGraphPartitions() - Static method in class ucr.graphgen.main
 
getHitTable(int) - Static method in class ucr.app.QueryNode
 
getHops() - Method in class ucr.core.Message
Get the hop count for this message
getHost() - Method in class ucr.core.Connection
Retrieve the host this connection links to
getHostAddress() - Static method in class ucr.core.Utilities
Gets the host address, works around byte[] getAddress() looking negative
getHostCache() - Method in class ucr.core.NetConnection
Get the current HostCache.
getHostConnectedServant() - Method in class ucr.core.Connection
Get the connected host
getHosts() - Method in class ucr.core.HostCache
Get an enumeration of the hosts cached
getID() - Method in class ucr.core.TraceRecord
Get the id of this record
getIP() - Method in class ucr.core.TraceRecord
Get the ip of this record
getIPAddress() - Method in class ucr.core.Host
Returns the address
getIPAddress() - Method in class ucr.core.SearchReplyMessage
Query the IP address for this pong message result is an IP address in the form of "206.26.48.100".
getIncomingPort() - Method in class ucr.core.ConnectionData
Get the port to used for incoming connections Defaults to 6346.
getIncommingConnectionCount() - Method in class ucr.core.ConnectionData
Get the requested number of incomming connection return requested incomming connection count
getIndex() - Method in class ucr.core.FileRecord
Get the index of the file
getKnownHosts() - Method in class ucr.core.HostCache
Get a list of the Hosts cached
getLOGSDIR() - Static method in class ucr.app.CONFIG
 
getList() - Method in class ucr.core.ConnectionList
Gets a list containing the connections
getListOutgoing() - Method in class ucr.core.ConnectionList
 
getLog() - Static method in class ucr.core.Log
Access the log
getMessage() - Method in class ucr.core.NodeConnection
 
getMessage() - Method in class ucr.core.RouteMessage
 
getMinimumDownloadSpeed() - Method in class ucr.core.SearchMessage
Get the minimum download speed for responses
getMode(String[]) - Static method in class ucr.app.QueryNode
returns the mode as it was specified as a command line parameter
getMyHostname() - Static method in class ucr.app.CONFIG
 
getMyIP() - Static method in class ucr.app.CONFIG
 
getMyPath() - Static method in class ucr.app.CONFIG
 
getMyPath() - Static method in class ucr.graphgen.CONFIG
 
getMyPath() - Static method in class ucr.graphgen.IO
 
getMyPath() - Static method in class ucr.lucenetools.IO
 
getName() - Method in class ucr.core.FileRecord
Get the file name
getNextMessage() - Method in class ucr.core.Router
Query the next message to route, blocks if no message are available
getNumberHighestPeerSet(List, int, RouteMessage) - Method in class ucr.core.Router
 
getOS() - Static method in class ucr.app.CONFIG
 
getOriginatingConnection() - Method in class ucr.core.Message
Get the connection that was the source for this message
getOutgoingConnectionCount() - Method in class ucr.core.ConnectionData
Returns the requested number of outgoing connections
getPORT() - Method in class ucr.core.TraceRecord
Get the file name
getPayload() - Method in class ucr.core.Message
Retrieve the message payload
getPayloadLength() - Method in class ucr.core.Message
Query the payload size for this message
getPort() - Method in class ucr.core.Host
Returns the port
getPort() - Method in class ucr.core.SearchReplyMessage
Query the port for this search reply
getQueryHitTimeTable(int) - Static method in class ucr.app.QueryNode
 
getQuerySource(SearchMessage) - Method in class ucr.core.Router
Get the source of a previously received message query message
getRandomNode(Node) - Static method in class ucr.graphgen.main
 
getSearchCriteria() - Method in class ucr.core.SearchMessage
Query the search criteria for this message
getSearchCriteria() - Method in class ucr.core.TraceMessage
Query the search criteria for this message
getServantIdentifier() - Method in class ucr.core.NetConnection
Get the servant identifier the NetConnection is using.
getSharedFileCount() - Method in class ucr.core.ConnectionData
Get the value for shared file count
getSharedFileCount() - Method in class ucr.core.Host
Return shared file count
getSharedFileSize() - Method in class ucr.core.ConnectionData
Get the value for shared file size, this is the total size of shared files
getSharedFileSize() - Method in class ucr.core.Host
Reurn the shared file size
getSimilarQueriesGrouped(String, int, String) - Method in class ucr.core.ProfileTableMng
 
getSize() - Method in class ucr.core.FileRecord
Get the size of the file
getSleepInterval() - Method in class ucr.core.ConnectionData
 
getSmallestIdx(long[]) - Method in class ucr.core.Router
 
getStatus() - Method in class ucr.core.Connection
Get the current status of the connection
getTTL() - Method in class ucr.core.Message
Get the Time to live for the message
getTimeStamp() - Method in class ucr.core.ProfileTableMng
 
getTraceRecords() - Method in class ucr.core.TraceReplyMessage
Get the vector of trace records Remember that at this point everything is in raw data stored in the payload.
getType() - Method in class ucr.core.Connection
Get the type of connection, incoming or outgoing
getType() - Method in class ucr.core.Message
Query the type of message
getVendorCode() - Method in class ucr.core.ConnectionData
Get Vendor code for use in QueryReply messages.
getVendorCode() - Method in class ucr.core.SearchReplyMessage
Retrieve the vendor code for the responding servant
get_Connected_At(int) - Method in class ucr.graphgen.Node
 
get_Connected_COUNTRY_IP_At(int) - Method in class ucr.graphgen.Node
 
get_Connected_COUNTRY_PORT_At(int) - Method in class ucr.graphgen.Node
 
get_Connected_ID_At(int) - Method in class ucr.graphgen.Node
 
get_Connected_size() - Method in class ucr.graphgen.Node
 
get_IP() - Method in class ucr.graphgen.Node
 
get_LRU_bucket() - Method in class ucr.core.ProfileTableMng
 
get_NEW_slot(String, int) - Method in class ucr.graphgen.Node
 
get_PORT() - Method in class ucr.graphgen.Node
 
get_endTime() - Method in class ucr.app.QueryNodeReceiver
 
get_endTime() - Method in interface ucr.core.MessageReceiver
 
get_endTime() - Method in class ucr.core.MessageReceiverAdapter
 
get_free_slots() - Method in class ucr.graphgen.Node
 
get_hits() - Method in class ucr.app.QueryNodeReceiver
 
get_hits() - Method in interface ucr.core.MessageReceiver
 
get_hits() - Method in class ucr.core.MessageReceiverAdapter
 
get_id() - Method in class ucr.graphgen.Node
 
get_keyword() - Method in class ucr.app.QueryNodeReceiver
 
get_keyword() - Method in interface ucr.core.MessageReceiver
 
get_keyword() - Method in class ucr.core.MessageReceiverAdapter
 
get_name() - Method in class ucr.graphgen.Node
 
get_slot(String, int) - Method in class ucr.graphgen.Node
 
get_startTime() - Method in class ucr.app.QueryNodeReceiver
 
get_startTime() - Method in interface ucr.core.MessageReceiver
 
get_startTime() - Method in class ucr.core.MessageReceiverAdapter
 
greeting - Static variable in class ucr.core.NetConnection
 
guid - Variable in class ucr.core.Message
 
guid - Variable in class ucr.core.ProfileTableEntry
 
gzos - Static variable in class ucr.graphgen.main
 

H

HITs - Variable in class ucr.core.Connection
 
Host - class ucr.core.Host.
Contains the location of a host on the network
Host(String, int, int, int) - Constructor for class ucr.core.Host
Constructs a Host
HostCache - class ucr.core.HostCache.
A cache of the known hosts on the network
HostCache() - Constructor for class ucr.core.HostCache
Constructs an empty HostCache
hasQueryHit - Variable in class ucr.core.ProfileTableEntry
 
hashCode() - Method in class ucr.core.GUID
Produce a hashcode for this GUID
hashCode() - Method in class ucr.core.Host
Use the IP address for the hashcode
hashMap - Variable in class ucr.core.OriginateTable
 
hits - Variable in class ucr.app.QueryNodeReceiver
 
hops - Variable in class ucr.core.Message
 
host - Variable in class ucr.core.Connection
 
host2ip(String) - Static method in class ucr.app.CONFIG
 
hostCache - Variable in class ucr.core.IncomingConnectionManager
 
hostCache - Variable in class ucr.core.NetConnection
 
hostCache - Variable in class ucr.core.OutgoingConnectionManager
 
hostCache - Variable in class ucr.core.Router
 
hosthits - Variable in class ucr.app.QueryNodeReceiver
 
hosts - Variable in class ucr.core.HostCache
 

I

IO - class ucr.app.IO.
 
IO() - Constructor for class ucr.app.IO
 
IO - class ucr.graphgen.IO.
 
IO() - Constructor for class ucr.graphgen.IO
 
IO - class ucr.lucenetools.IO.
 
IO() - Constructor for class ucr.lucenetools.IO
 
IO.WordOCC - class ucr.app.IO.WordOCC.
 
IO.WordOCC(String, int) - Constructor for class ucr.app.IO.WordOCC
 
IP - Variable in class ucr.graphgen.Node
 
IPs - Static variable in class ucr.graphgen.CONFIG
 
IncomingConnectionManager - class ucr.core.IncomingConnectionManager.
Manager for incomming connections
IncomingConnectionManager(Router, ConnectionList, ConnectionData, HostCache) - Constructor for class ucr.core.IncomingConnectionManager
Constructs the incoming connection manager
Indexer - class ucr.lucenetools.Indexer.
Indexer class provides the ability to perform offline indexing of a collection of xml or text documents.
Indexer() - Constructor for class ucr.lucenetools.Indexer
 
InitConfFile(String) - Static method in class ucr.app.CONFIG
 
InitConfFile() - Static method in class ucr.graphgen.CONFIG
 
InitDependent() - Static method in class ucr.app.CONFIG
 
InitDependent() - Static method in class ucr.graphgen.CONFIG
 
InitKey2HashMap() - Static method in class ucr.app.CONFIG
 
Init_GLOBAL_ConfFile(String) - Static method in class ucr.app.CONFIG
 
Init_GLOBAL_ConfFile(String) - Static method in class ucr.graphgen.CONFIG
 
id - Variable in class ucr.core.TraceRecord
 
id - Variable in class ucr.graphgen.Node
 
idx - Variable in class ucr.core.Connection
 
incomingConnectionManager - Static variable in class ucr.core.NetConnection
 
incomingConnectionMgr - Static variable in class ucr.core.OutgoingConnectionManager
 
incommingConnectionCount - Variable in class ucr.core.ConnectionData
 
incommingConnectionPort - Variable in class ucr.core.ConnectionData
 
incr_arrive(GUID, int) - Method in class ucr.core.Connection
 
index - Variable in class ucr.core.FileRecord
 
initProfileMng(int) - Method in class ucr.core.Router
 
initSlots() - Static method in class ucr.graphgen.main
 
initSocket() - Method in class ucr.core.Connection
Constructor helper
inputCount - Variable in class ucr.core.Connection
 
inputStream - Variable in class ucr.core.Connection
 
inputStreamBuffer - Variable in class ucr.core.Connection
 
ip - Variable in class ucr.core.TraceRecord
 
ipAddress - Variable in class ucr.core.Host
 
ipAddress - Variable in class ucr.core.SearchReplyMessage
 
isBearShareTrailerPresent() - Method in class ucr.core.SearchReplyMessage
Check if the bearshare trailer is present between file records and GUID
isShutdown() - Method in class ucr.core.ConnectionManager
Check if the manager is shut down

K

keyword - Variable in class ucr.app.QueryNodeReceiver
 
keywordsRouteTable - Variable in class ucr.core.Router
 

L

LINUX_DIR - Static variable in class ucr.app.CONFIG
 
LINUX_DIR - Static variable in class ucr.graphgen.CONFIG
 
LINUX_TEMP_DIR - Static variable in class ucr.app.CONFIG
 
Log - class ucr.core.Log.
Basic logging
Log() - Constructor for class ucr.core.Log
 
loadFile(String) - Static method in class ucr.lucenetools.IO
 
loadIndexes() - Method in class ucr.app.PeerReceiver
 
local_err(String) - Method in class ucr.app.PeerReceiver
 
local_println(String) - Method in class ucr.app.PeerReceiver
 
local_println(String) - Method in class ucr.core.Router
 
local_search(String) - Method in class ucr.app.PeerReceiver
 
log(Message) - Static method in class ucr.core.CONFIG
 
log - Static variable in class ucr.core.Log
 
log(Throwable) - Method in class ucr.core.Log
Logs an exception
log(RandomAccessFile, String) - Method in class ucr.core.Log
Rights the string to the log
log2File(String, String) - Static method in class ucr.core.CONFIG
 
log2Memory(Message) - Static method in class ucr.core.CONFIG
 
logDebug(String) - Method in class ucr.core.Log
Logs debug information
logError(String) - Method in class ucr.core.Log
Logs an error
logFile - Static variable in class ucr.core.Log
 
logInformation(String) - Method in class ucr.core.Log
Logs information
logToDebug(String) - Method in class ucr.core.Log
Writes a log to the debug log
logToError(String) - Method in class ucr.core.Log
Writes a log to the error log
logUnexpectedException(Throwable) - Method in class ucr.core.Log
Logs an unexcpected exception, some exceptions, such as IO problems are to be expected
logWarning(String) - Method in class ucr.core.Log
Logs a warning
logical2physical() - Static method in class ucr.graphgen.main
 

M

MAX_ROUTER_TABLE - Static variable in class ucr.core.Router
 
MAX_TTL - Static variable in class ucr.core.Router
 
MEMORYs - Static variable in class ucr.graphgen.CONFIG
 
Message - class ucr.core.Message.
Abstract base class for GNUTella messages
Message(int) - Constructor for class ucr.core.Message
Constructs a new message
Message(GUID, int) - Constructor for class ucr.core.Message
Construct a message with a specific guid
Message(short[], Connection) - Constructor for class ucr.core.Message
Constructs a message from data read from network
MessageFactory - class ucr.core.MessageFactory.
Construct the appropriate Message subclass
MessageFactory() - Constructor for class ucr.core.MessageFactory
 
MessageReceiver - interface ucr.core.MessageReceiver.
A class implementing MessageReceiver is capable of receiving GNUTella network messages
MessageReceiverAdapter - class ucr.core.MessageReceiverAdapter.
An adapter for the MessageReceiver, provides empty implementations of message receive methods
MessageReceiverAdapter() - Constructor for class ucr.core.MessageReceiverAdapter
 
My_Data_Sources - Variable in class ucr.graphgen.Node
 
m - Variable in class ucr.core.RouteMessage
 
main(String[]) - Static method in class ucr.app.Peer
Main loop
main(String[]) - Static method in class ucr.app.QueryNode
Entry point for the search example application, host and port number are expected arguments
main(String[]) - Static method in class ucr.core.Cosine
 
main(String[]) - Static method in class ucr.core.Log
 
main(String[]) - Static method in class ucr.core.Utilities
 
main - class ucr.graphgen.main.
 
main() - Constructor for class ucr.graphgen.main
 
main(String[]) - Static method in class ucr.graphgen.main
 
main(String[]) - Static method in class ucr.lucenetools.Indexer
 
makeDir(String) - Static method in class ucr.app.IO
 
makeDir(String) - Static method in class ucr.graphgen.IO
 
makeDir(String) - Static method in class ucr.lucenetools.IO
 
maxSize - Variable in class ucr.core.BoundedQueue
 
maxSize - Variable in class ucr.core.RouteTable
 
messageBacklog - Variable in class ucr.core.Connection
 
messageQueue - Variable in class ucr.core.Router
 
mng - Variable in class ucr.core.Router
 

N

NODES - Static variable in class ucr.graphgen.main
 
NetConnection - class ucr.core.NetConnection.
The NetConnection represents a connection to the P2P network.
NetConnection() - Constructor for class ucr.core.NetConnection
Constructs an empty connection, the application must add a host cache or servant to generate activity
NetConnection(String, int) - Constructor for class ucr.core.NetConnection
Construct the connection using default connection data and the supplied information regarding the host cache on the network
NetConnection(ConnectionData) - Constructor for class ucr.core.NetConnection
Construct the connection specifying connection data.
NetConnection(ConnectionData, String, int) - Constructor for class ucr.core.NetConnection
Construct the connection, providing ConnectionData to initialize the connection and the address of a host cache servant
Node - class ucr.graphgen.Node.
 
Node(int, String, int) - Constructor for class ucr.graphgen.Node
 
NodeConnection - class ucr.core.NodeConnection.
Connection to a servant on the network
NodeConnection(Router, String, int, ConnectionData) - Constructor for class ucr.core.NodeConnection
Construct the Connection using host/port information
NodeConnection(Router, Socket, ConnectionData) - Constructor for class ucr.core.NodeConnection
Construct the connection with an existing socket
name - Variable in class ucr.graphgen.Node
 
nextHost() - Method in class ucr.core.HostCache
Get the next host available - workx in a round-robin fashion

O

OCC - Variable in class ucr.app.IO.WordOCC
 
OSsep() - Static method in class ucr.app.CONFIG
 
OSsep() - Static method in class ucr.graphgen.CONFIG
 
OSsep() - Static method in class ucr.graphgen.IO
 
OSsep() - Static method in class ucr.lucenetools.IO
 
OriginateTable - class ucr.core.OriginateTable.
Contains information for routing originated messages
OriginateTable() - Constructor for class ucr.core.OriginateTable
 
OutgoingConnectionManager - class ucr.core.OutgoingConnectionManager.
Manages the outgoing connections, attempts to connect to the network agressively.
OutgoingConnectionManager(IncomingConnectionManager, Router, HostCache, ConnectionList, ConnectionData) - Constructor for class ucr.core.OutgoingConnectionManager
Constructs the outgoing connection manager
occupied_slot - Variable in class ucr.graphgen.Node
 
oos - Static variable in class ucr.graphgen.main
 
openServerSocket() - Method in class ucr.core.IncomingConnectionManager
 
originateTable - Variable in class ucr.core.Router
 
originatingConnection - Variable in class ucr.core.Message
 
outgoingConnectionCount - Variable in class ucr.core.ConnectionData
 
outgoingConnectionManager - Static variable in class ucr.core.NetConnection
 
outputStream - Variable in class ucr.core.Connection
 

P

PEERS_ALIVE - Static variable in class ucr.app.QueryNodeReceiver
 
PEERS_IPV - Static variable in class ucr.app.CONFIG
 
PEERS_PORTV - Static variable in class ucr.app.CONFIG
 
PORT - Variable in class ucr.graphgen.Node
 
PROFILE_SIZE - Static variable in class ucr.app.CONFIG
 
Parser - class ucr.lucenetools.Parser.
 
Parser(String, String) - Constructor for class ucr.lucenetools.Parser
 
Peer - class ucr.app.Peer.
A dataNode Node.
Peer() - Constructor for class ucr.app.Peer
 
PeerReceiver - class ucr.app.PeerReceiver.
 
PeerReceiver() - Constructor for class ucr.app.PeerReceiver
 
ProfileTableEntry - class ucr.core.ProfileTableEntry.
 
ProfileTableEntry() - Constructor for class ucr.core.ProfileTableEntry
 
ProfileTableEntry.ConnectionEntry - class ucr.core.ProfileTableEntry.ConnectionEntry.
 
ProfileTableEntry.ConnectionEntry(NodeConnection, int) - Constructor for class ucr.core.ProfileTableEntry.ConnectionEntry
 
ProfileTableMng - class ucr.core.ProfileTableMng.
 
ProfileTableMng(ProfileTableEntry[]) - Constructor for class ucr.core.ProfileTableMng
 
payload - Variable in class ucr.core.Message
 
payloadSize - Variable in class ucr.core.Message
 
plotInstancePAJEKGraph() - Static method in class ucr.graphgen.main
 
port - Variable in class ucr.core.Connection
 
port - Variable in class ucr.core.Host
 
port - Variable in class ucr.core.SearchReplyMessage
 
port - Variable in class ucr.core.TraceRecord
 
poscount - Variable in class ucr.core.HostCache
 
prepareMessage(Message) - Method in class ucr.core.Router
Updates a message for sending
primaryHashMap - Variable in class ucr.core.RouteTable
 
print2Results(Vector) - Static method in class ucr.core.Cosine
 
printDistributionFile() - Static method in class ucr.graphgen.main
 
printState() - Method in class ucr.core.ProfileTableMng
 
ptable - Variable in class ucr.core.ProfileTableMng
 
put(GUID, MessageReceiver) - Method in class ucr.core.OriginateTable
Puts a GUID to MessageReceiver mapping in the table
put(GUID, NodeConnection) - Method in class ucr.core.RouteTable
Puts a GUID to Connection mapping in the table

Q

QUERY - Static variable in class ucr.core.Message
 
QUERYREPLY - Static variable in class ucr.core.Message
 
QueryNode - class ucr.app.QueryNode.
An class for executing search queries on the UCRDB network.
QueryNode(NetConnection) - Constructor for class ucr.app.QueryNode
Default Consructor
QueryNodeReceiver - class ucr.app.QueryNodeReceiver.
Test class for receiving search responses
QueryNodeReceiver(String) - Constructor for class ucr.app.QueryNodeReceiver
 
qhitcount - Variable in class ucr.core.ProfileTableEntry.ConnectionEntry
 
qsort(Hashtable) - Method in class ucr.core.ResultsQSort
 
qtable - Variable in class ucr.core.ProfileTableEntry
 
queries - Static variable in class ucr.core.Cosine
 
queriesRoutedCount - Variable in class ucr.core.Router
 
query - Variable in class ucr.core.ProfileTableEntry
 
queryHit(GUID, SearchReplyMessage) - Method in class ucr.core.ServerSession
An application should call queryHit to indicate that the applicatio's node is in ther route of the Query
queryHitRouteTable - Variable in class ucr.core.Router
 
queryMessageDEPTHTable - Variable in class ucr.core.Router
 
queryMessageTable - Variable in class ucr.core.Router
 
queryRouteTable - Variable in class ucr.core.Router
 
queryhits_arrived() - Method in class ucr.core.Connection
 
queue - Variable in class ucr.core.BoundedQueue
 

R

REPLICATIONPERNODE - Static variable in class ucr.graphgen.CONFIG
 
ReadNetFile() - Static method in class ucr.graphgen.CONFIG
 
ResultsEntry - class ucr.core.ResultsEntry.
 
ResultsEntry(NodeConnection, double) - Constructor for class ucr.core.ResultsEntry
 
ResultsQSort - class ucr.core.ResultsQSort.
 
ResultsQSort() - Constructor for class ucr.core.ResultsQSort
 
RouteMessage - class ucr.core.RouteMessage.
Records a message to route
RouteMessage(Message, NodeConnection) - Constructor for class ucr.core.RouteMessage
 
RouteTable - class ucr.core.RouteTable.
Contains history information on Messages used for routing Maps GUIDs to the connection they arrived on
RouteTable(int) - Constructor for class ucr.core.RouteTable
Construct the RouteTable, indicating maximum size
Router - class ucr.core.Router.
Routes messages read from the network to appropriate Connections
Router(ConnectionList, HostCache) - Constructor for class ucr.core.Router
Collection of active connections to the network
readExistingGraph() - Static method in class ucr.graphgen.main
 
readKeywords() - Static method in class ucr.app.IO
 
readObject(ObjectInputStream) - Method in class ucr.graphgen.Node
 
receiveSearch(SearchMessage) - Method in class ucr.app.PeerReceiver
 
receiveSearch(SearchMessage) - Method in interface ucr.core.MessageReceiver
Implement to receive a query message from the network, this will be called for every query and subsequently should be implement efficiently
receiveSearch(SearchMessage) - Method in class ucr.core.MessageReceiverAdapter
Implement to receive a query message from the network, this will be called for every query and subsequently should be implement efficiently, the default implementation does nothing
receiveSearchReply(SearchReplyMessage, String, int) - Method in class ucr.app.PeerReceiver
 
receiveSearchReply(SearchReplyMessage, String, int) - Method in class ucr.app.QueryNodeReceiver
 
receiveSearchReply(SearchReplyMessage, String, int) - Method in interface ucr.core.MessageReceiver
Implement to receive a qstreply
receiveSearchReply(SearchMessage, String, int) - Method in class ucr.core.MessageReceiverAdapter
Implement to receive a message reply.
receiveTrace(TraceMessage) - Method in class ucr.app.PeerReceiver
 
receiveTrace(TraceMessage) - Method in interface ucr.core.MessageReceiver
Implement to receive a trace message from the network,
receiveTrace(TraceMessage) - Method in class ucr.core.MessageReceiverAdapter
Implement to receive a query message from the network, this will be called for every query and subsequently should be implement efficiently, the default implementation does nothing
receiveTraceReply(TraceReplyMessage) - Method in class ucr.app.QueryNodeReceiver
 
receiveTraceReply(TraceReplyMessage) - Method in interface ucr.core.MessageReceiver
Implement to receive a tracereply
receiveTraceReply(TraceReplyMessage) - Method in class ucr.core.MessageReceiverAdapter
Implement to receive a message reply.
receiver - Variable in class ucr.core.SearchMonitorSession
 
receiver - Variable in class ucr.core.ServerSession
 
receiver - Variable in class ucr.core.Session
 
remove(GUID) - Method in class ucr.core.OriginateTable
Removes the guide/receiver mapping
removeConnection(NodeConnection) - Method in class ucr.core.ConnectionList
Removes a connection
removeMessageSender(List) - Method in class ucr.core.Router
Removes a message sender's origination data
removeSearchMessageReceiver(MessageReceiver) - Method in class ucr.core.Router
Removes a search receiver
reverse(Object, Object) - Method in class ucr.core.ResultsQSort
 
route(Message, NodeConnection) - Method in class ucr.core.Router
Routes a message, used by Connections
routeBFSQuery(RouteMessage) - Method in class ucr.core.Router
 
routeBack(Message, MessageReceiver) - Method in class ucr.core.Router
Record a message we originate, so we can route it back
routeGreatestResultsQuery(RouteMessage) - Method in class ucr.core.Router
 
routeQueryReplyMessage(RouteMessage) - Method in class ucr.core.Router
 
routeRandomBFSQuery(RouteMessage) - Method in class ucr.core.Router
 
router - Variable in class ucr.core.Connection
 
router - Variable in class ucr.core.ConnectionManager
 
router - Variable in class ucr.core.NetConnection
 
router - Variable in class ucr.core.SearchMonitorSession
 
router - Variable in class ucr.core.ServerSession
 
router - Variable in class ucr.core.Session
 
routerSend(Connection, Message) - Method in class ucr.core.Router
Utility method for common send
run() - Method in class ucr.core.IncomingConnectionManager
Main processing loop for serversocket
run() - Method in class ucr.core.NodeConnection
Connection operation
run() - Method in class ucr.core.OutgoingConnectionManager
 
run() - Method in class ucr.core.Router
Runs along routing messages

S

SEARCH_DELAY - Static variable in class ucr.app.CONFIG
 
SERVER_HELLO - Static variable in class ucr.core.Connection
 
SERVER_READY - Static variable in class ucr.core.Connection
 
SERVER_READY - Static variable in class ucr.core.NetConnection
 
SERVER_REJECT - Static variable in class ucr.core.Connection
 
SIMILARITY_THRESHOLD - Static variable in class ucr.app.CONFIG
 
SIZE - Variable in class ucr.core.Connection
 
SIZE - Static variable in class ucr.core.Cosine
 
SIZE - Static variable in class ucr.core.Message
 
SIZE_QUERYREPLY_PAYLOAD - Static variable in class ucr.core.Message
 
SIZE_QUERY_PAYLOAD - Static variable in class ucr.core.Message
 
SLEEP_INTERVAL - Static variable in class ucr.app.CONFIG
 
SLEEP_INTERVAL - Variable in class ucr.core.ConnectionData
 
SOCKET_RETRY_COUNT - Static variable in class ucr.core.IncomingConnectionManager
 
START_PORT - Static variable in class ucr.graphgen.CONFIG
 
STATUS_CONNECTING - Static variable in class ucr.core.Connection
Connection is attempting to connected to GNUTella
STATUS_FAILED - Static variable in class ucr.core.Connection
Connection is not operating normally
STATUS_OK - Static variable in class ucr.core.Connection
Connection is operating normally
STATUS_STOPPED - Static variable in class ucr.core.Connection
Connection has been stopped
STR - Variable in class ucr.app.IO.WordOCC
 
SearchMessage - class ucr.core.SearchMessage.
SearchMessage, the message for queries
SearchMessage(String) - Constructor for class ucr.core.SearchMessage
Construct a GNUTella search query
SearchMessage(short[], Connection) - Constructor for class ucr.core.SearchMessage
Construct a SearchMessage from data read from network
SearchMonitorSession - class ucr.core.SearchMonitorSession.
A session for monitoring query trafic
SearchMonitorSession(Router, MessageReceiver) - Constructor for class ucr.core.SearchMonitorSession
Construct a session to monitor queries on the network
SearchReplyMessage - class ucr.core.SearchReplyMessage.
Search Reply message(QUERY HIT), response to a search request
SearchReplyMessage(Message) - Constructor for class ucr.core.SearchReplyMessage
Construct a SearchReply message
SearchReplyMessage() - Constructor for class ucr.core.SearchReplyMessage
 
SearchReplyMessage(short[], Connection) - Constructor for class ucr.core.SearchReplyMessage
Construct a search reply message from data read read from network
SearchReplyMessage(SearchMessage, short, String, int) - Constructor for class ucr.core.SearchReplyMessage
Used to respond to a query message
SearchReplyMessage(SearchMessage, short, String, int, String) - Constructor for class ucr.core.SearchReplyMessage
Used to respond to a query message
ServerSession - class ucr.core.ServerSession.
Session that can be used to respond to Query messages and receive Push messages
ServerSession(Router, MessageReceiver) - Constructor for class ucr.core.ServerSession
Constructs the FileServerSession, not visible to application
Session - class ucr.core.Session.
A session for running traces in the network
Session(NetConnection, Router, MessageReceiver) - Constructor for class ucr.core.Session
 
saveFile(String, StringBuffer) - Static method in class ucr.graphgen.IO
 
saveFile(String, String) - Static method in class ucr.lucenetools.IO
 
search - Static variable in class ucr.app.QueryNode
 
searchMessage - Variable in class ucr.core.SearchReplyMessage
 
searchReceivers - Variable in class ucr.core.Router
 
searcher - Static variable in class ucr.app.PeerReceiver
 
searcher_actual_size - Static variable in class ucr.app.PeerReceiver
 
secondaryHashMap - Variable in class ucr.core.RouteTable
 
send(Message) - Method in class ucr.core.Connection
Sends a Message through this connection
sendAndReceive(Message, MessageReceiver) - Method in class ucr.core.Connection
Sends a message down the connection and sends any response to MessageReceiver
sendThisMessage(Message, String) - Method in class ucr.core.Session
Working loop - returns the number of bytes sent (if successful)
serverSession - Variable in class ucr.app.PeerReceiver
 
serverSession - Variable in class ucr.app.QueryNodeReceiver
 
serverSocket - Variable in class ucr.core.IncomingConnectionManager
 
setAll(int, String, int) - Method in class ucr.graphgen.Node
 
setConnectionGreeting(String) - Method in class ucr.core.ConnectionData
Set the connection handshake greeting.
setDesiredConnectionCount(int) - Method in class ucr.core.ConnectionManager
Set the desired connection count
setDrop(int, double, int) - Method in class ucr.core.ConnectionData
 
setGUID(GUID) - Method in class ucr.core.Message
Apply a guid to the message
setHops(byte) - Method in class ucr.core.Message
Set the hop count for this message, seven is the recommended maximum
setIncomingPort(int) - Method in class ucr.core.ConnectionData
Set the port to used for incomming connections.
setIncommingConnectionCount(int) - Method in class ucr.core.ConnectionData
Set the requesting number of incomming connections.
setMyInitLogFile() - Static method in class ucr.app.CONFIG
 
setMyLogFile() - Static method in class ucr.app.CONFIG
 
setOutgoingConnectionCount(int) - Method in class ucr.core.ConnectionData
Set the requested number of outgoing connections.
setServerSession(ServerSession) - Method in class ucr.app.PeerReceiver
 
setServerSession(ServerSession) - Method in class ucr.app.QueryNodeReceiver
 
setSharedFileCount(int) - Method in class ucr.core.ConnectionData
Set the value for current number of shared files Defaults to zero
setSharedFileSize(int) - Method in class ucr.core.ConnectionData
Set the value for shared file size Defaults to zero
setTTL(byte) - Method in class ucr.core.Message
Set the ttl value for the message
setVendorCode(String) - Method in class ucr.core.ConnectionData
Set Vendor code for use in QueryReply messages.
set_Address(String, int) - Method in class ucr.graphgen.Node
 
set_endTime(long) - Method in class ucr.app.QueryNodeReceiver
 
set_endTime(long) - Method in interface ucr.core.MessageReceiver
 
set_endTime(long) - Method in class ucr.core.MessageReceiverAdapter
 
set_startTime(long) - Method in class ucr.app.QueryNodeReceiver
 
set_startTime(long) - Method in interface ucr.core.MessageReceiver
 
set_startTime(long) - Method in class ucr.core.MessageReceiverAdapter
 
sharedFileCount - Variable in class ucr.core.ConnectionData
 
sharedFileCount - Variable in class ucr.core.Host
 
sharedFileSize - Variable in class ucr.core.ConnectionData
 
sharedFileSize - Variable in class ucr.core.Host
 
shouldProceed(Message) - Method in class ucr.core.Router
shouldProceed(Message) : Checks if this message was forwarded in past (based on GUID).
shutDownFlag - Variable in class ucr.core.Router
 
shutdown() - Method in class ucr.core.Connection
Stops the connection and cleans up
shutdown - Variable in class ucr.core.ConnectionManager
 
shutdown() - Method in class ucr.core.ConnectionManager
Closes all connections and stops processing
shutdown() - Method in class ucr.core.Router
Stops the operation of the router
shutdownFlag - Variable in class ucr.core.Connection
 
shutdownFlag - Variable in class ucr.core.NetConnection
 
size - Variable in class ucr.core.FileRecord
 
size() - Method in class ucr.core.HostCache
Query how many hosts are cached
size - Variable in class ucr.core.ProfileTableMng
 
size() - Method in class ucr.core.TraceRecord
 
sizeOf() - Method in class ucr.core.TraceRecord
 
socket - Variable in class ucr.core.Connection
 
sorter - Variable in class ucr.core.ProfileTableMng
 
speed - Variable in class ucr.core.SearchReplyMessage
 
start() - Method in class ucr.core.NetConnection
Starts the connection
startIncomingConnection(boolean) - Method in class ucr.core.Connection
Starts an incomming connection to a node on the network, does initial handshake
startOutgoingConnection(String) - Method in class ucr.core.Connection
Starts an outgoing connection to a node on the network, does initial handshaking Initially we will send the other peer our PORT in order to let him know on which port are we accepting connenctions since MYIP+MYPORT provides a unique address for some host
startTime - Variable in class ucr.app.QueryNodeReceiver
 
status - Variable in class ucr.core.Connection
 
stop() - Method in class ucr.core.NetConnection
Stop the connection, after execution the NetConnection is unusable.
stopALLConnectionNOW() - Method in class ucr.core.ConnectionList
Shuts down non-running connections needed
stopOutgoingConnectionAttempts() - Method in class ucr.core.ConnectionList
Shuts down non-running connections needed

T

TRACE - Static variable in class ucr.core.Message
 
TRACEREPLY - Static variable in class ucr.core.Message
 
TraceMessage - class ucr.core.TraceMessage.
TraceMessage, can log the identifiers of a route taken by this message
TraceMessage() - Constructor for class ucr.core.TraceMessage
Construct a TraceSearch query
TraceMessage(short[], Connection) - Constructor for class ucr.core.TraceMessage
Construct a TraceMessage from data read from network
TraceRecord - class ucr.core.TraceRecord.
Represents information about a single file served
TraceRecord(int, String, int) - Constructor for class ucr.core.TraceRecord
Constructs a record describing a node in the traceroute
TraceRecord() - Constructor for class ucr.core.TraceRecord
 
TraceRecord(short[]) - Constructor for class ucr.core.TraceRecord
This constructor assembles a message from some little-endian encoded byte sequence that comes from the network
TraceReplyMessage - class ucr.core.TraceReplyMessage.
TraceReply message, response to a trace request
TraceReplyMessage() - Constructor for class ucr.core.TraceReplyMessage
 
TraceReplyMessage(GUID) - Constructor for class ucr.core.TraceReplyMessage
Used to respond to a trace message
TraceReplyMessage(short[], Connection) - Constructor for class ucr.core.TraceReplyMessage
Construct a trace reply message from data read read from network
timestamp - Variable in class ucr.core.ProfileTableEntry
 
timestampCounter - Variable in class ucr.core.ProfileTableMng
 
toRawString() - Method in class ucr.core.Message
Returns a String containing the flattened message
toString() - Method in class ucr.core.GUID
Returns a GUID as a String
toString() - Method in class ucr.core.Host
Get text based host information
toString() - Method in class ucr.core.Message
String representation of the message
toString() - Method in class ucr.core.TraceRecord
 
totalDisk() - Static method in class ucr.graphgen.CONFIG
 
totalMemory() - Static method in class ucr.graphgen.CONFIG
 
totalsimilarity - Variable in class ucr.core.ResultsEntry
 
traceHit(GUID, TraceReplyMessage) - Method in class ucr.core.ServerSession
An application should call traceHit to indicate that the applicatio's node is in ther route of the Query
traceRecords - Variable in class ucr.core.TraceReplyMessage
 
ttl - Variable in class ucr.core.Message
 
type - Variable in class ucr.core.Connection
 
type - Variable in class ucr.core.Message
 
typeLocation - Static variable in class ucr.core.MessageFactory
Location of the function type in the header

U

UniqueIDGenerator - class ucr.core.UniqueIDGenerator.
UniqueIDGenerator (sort of)
UniqueIDGenerator() - Constructor for class ucr.core.UniqueIDGenerator
 
Utilities - class ucr.core.Utilities.
General purpose utilities
Utilities() - Constructor for class ucr.core.Utilities
 
ucr.app - package ucr.app
 
ucr.core - package ucr.core
 
ucr.graphgen - package ucr.graphgen
 
ucr.lucenetools - package ucr.lucenetools
 
usage() - Static method in class ucr.graphgen.main
 

V

validateIPPorts(NetConnection, String) - Static method in class ucr.app.CONFIG
 
validatePayloadSize() - Method in class ucr.core.Message
Checks validity of a payloads size
vendorCode - Variable in class ucr.core.ConnectionData
 
vendorCode - Variable in class ucr.core.SearchReplyMessage
 

W

WINDOW - Variable in class ucr.core.Router
 
WIN_DIR - Static variable in class ucr.app.CONFIG
 
WIN_DIR - Static variable in class ucr.graphgen.CONFIG
 
WIN_TEMP_DIR - Static variable in class ucr.app.CONFIG
 
waitInput() - Static method in class ucr.app.CONFIG
 
waitInput() - Static method in class ucr.graphgen.CONFIG
 
waitUser() - Static method in class ucr.app.IO
 
wordDistribution() - Static method in class ucr.app.IO
 
wordFrequencies() - Static method in class ucr.app.IO
 
write2File(String, String) - Static method in class ucr.app.IO
 
writeExistingGraph() - Static method in class ucr.graphgen.main
 
writeObject(ObjectOutputStream) - Method in class ucr.graphgen.Node
 

_

_ALGORITHM - Static variable in class ucr.core.CONFIG
 
_CONF_BASE - Static variable in class ucr.app.CONFIG
 
_CONF_DIR - Static variable in class ucr.graphgen.CONFIG
 
_CONF_FILE - Static variable in class ucr.graphgen.CONFIG
 
_CON_PER_PEER - Static variable in class ucr.graphgen.CONFIG
 
_DATA_DIR - Static variable in class ucr.graphgen.CONFIG
 
_DATA_XML_PATH - Static variable in class ucr.app.CONFIG
 
_DOT_GRAPH_OUT - Static variable in class ucr.graphgen.CONFIG
 
_HASHMAP - Static variable in class ucr.app.CONFIG
 
_INIT_LOGS_DIR - Static variable in class ucr.app.CONFIG
 
_KEYWORDS_FILE - Static variable in class ucr.app.CONFIG
 
_KEYWORDS_FOUND - Static variable in class ucr.app.CONFIG
 
_KEYWORDS_FOUND_FULL - Static variable in class ucr.app.CONFIG
 
_KEYWORD_TIME_TAKEN - Static variable in class ucr.app.CONFIG
 
_KEYWORD_TIME_TAKEN_FULL - Static variable in class ucr.app.CONFIG
 
_LOGS_ALL - Static variable in class ucr.app.CONFIG
 
_LOGS_DIR - Static variable in class ucr.app.CONFIG
 
_MYIP - Static variable in class ucr.app.CONFIG
 
_MYPORT - Static variable in class ucr.app.CONFIG
 
_MY_INIT_LOG - Static variable in class ucr.app.CONFIG
 
_MY_LOG - Static variable in class ucr.app.CONFIG
 
_MY_LOG_PATH - Static variable in class ucr.core.CONFIG
 
_NODE_ID - Static variable in class ucr.app.CONFIG
 
_NODE_ID - Static variable in class ucr.core.CONFIG
 
_NODE_IP - Static variable in class ucr.core.CONFIG
 
_NODE_PORT - Static variable in class ucr.core.CONFIG
 
_PAJEK_GRAPH - Static variable in class ucr.graphgen.CONFIG
 
_PDOM_BASE - Static variable in class ucr.app.CONFIG
 
_PERSISTENT_GRAPH - Static variable in class ucr.graphgen.CONFIG
 
_RAWDATA_DIR - Static variable in class ucr.app.CONFIG
 
_RESULTS_LOGS_DIR - Static variable in class ucr.app.CONFIG
 
_SOCKET_TIMEOUT - Static variable in class ucr.app.CONFIG
 
_SOCKET_TIMEOUT - Static variable in class ucr.core.CONFIG
 
_START_DIR() - Static method in class ucr.app.CONFIG
 
_START_DIR() - Static method in class ucr.graphgen.CONFIG
 
_TTL - Static variable in class ucr.app.CONFIG
 
_TTL - Static variable in class ucr.core.CONFIG
 
_UNIQUE_GREETING - Static variable in class ucr.app.CONFIG
 

A B C D E F G H I K L M N O P Q R S T U V W _