A C E G H I M N P R S U

A

addConnectionListener(ConnectionListener) - Method in class com.kenmccrary.jtella.NetworkConnection
Adds a listener interested in connection information

C

com.kenmccrary.jtella - package com.kenmccrary.jtella
 
connectionChange(ConnectionEvent) - Method in interface com.kenmccrary.jtella.ConnectionListener
Invoked when a connection change occurs
ConnectionEvent - class com.kenmccrary.jtella.ConnectionEvent.
An event indicating a change in the status of connections to the network
ConnectionInformation - class com.kenmccrary.jtella.ConnectionInformation.
Provides information regarding the current connections
ConnectionListener - interface com.kenmccrary.jtella.ConnectionListener.
The interface for listening to connection changes
createSearchSession(MessageReceiver) - Method in class com.kenmccrary.jtella.NetworkConnection
Creates a session to conduct network searches

E

equals(Object) - Method in class com.kenmccrary.jtella.GUID
Compare guids

G

generateGUID() - Static method in class com.kenmccrary.jtella.Utilities
Generate something remotely resembling a windows guid
getConnectionInformation() - Method in class com.kenmccrary.jtella.ConnectionEvent
Get an information instance to determine current network status
getCount() - Method in class com.kenmccrary.jtella.ConnectionInformation
Get the number of active connections
getFileCount() - Method in class com.kenmccrary.jtella.SearchReplyMessage
Query the umber of files found for the search
getFileRecord(int) - Method in class com.kenmccrary.jtella.SearchReplyMessage
Get information about the files found
getIndex() - Method in class com.kenmccrary.jtella.SearchReplyMessage.FileRecord
 
getIndex() - Method in class com.kenmccrary.jtella.NetworkFile
Get the file index, file index is used for HTTP file retrieval
getIPAddress() - Method in class com.kenmccrary.jtella.SearchReplyMessage
Query the IP address for this pong message result is an IP address in the form of "206.26.48.100".
getMinimumDownloadSpeed() - Method in class com.kenmccrary.jtella.SearchMessage
Get the minimum download speed for responses
getName() - Method in class com.kenmccrary.jtella.SearchReplyMessage.FileRecord
 
getName() - Method in class com.kenmccrary.jtella.NetworkFile
Get the file name
getPort() - Method in class com.kenmccrary.jtella.SearchReplyMessage
Query the port for this search reply
getSearchCriteria() - Method in class com.kenmccrary.jtella.SearchMessage
Query the search criteria for this message
getSearchMonitorSession(MessageReceiver) - Method in class com.kenmccrary.jtella.NetworkConnection
Get a search monitor session to monitor query requests flowing through this network connection, at this time only one SearchMonitorSession at a time is supported
getSize() - Method in class com.kenmccrary.jtella.SearchReplyMessage.FileRecord
 
getSize() - Method in class com.kenmccrary.jtella.NetworkFile
Get the file size
GUID - class com.kenmccrary.jtella.GUID.
Represents a unique ID
GUID() - Constructor for class com.kenmccrary.jtella.GUID
Construct a new GUID
GUID(byte[]) - Constructor for class com.kenmccrary.jtella.GUID
Create a guid from network data

H

hashCode() - Method in class com.kenmccrary.jtella.GUID
Produce a hashcode for this GUID
HostCache - class com.kenmccrary.jtella.HostCache.
A cache of the known hosts on the network
HostCache() - Constructor for class com.kenmccrary.jtella.HostCache
Constructs an empty HostCach

I

isOnline() - Method in class com.kenmccrary.jtella.NetworkConnection
Query if we are online with the network

M

main(String[]) - Static method in class com.kenmccrary.jtella.Utilities
 
MessageReceiver - interface com.kenmccrary.jtella.MessageReceiver.
A class implementing MessageReceiver is capable of receiving GNUTella network messages
MessageReceiverAdapter - class com.kenmccrary.jtella.MessageReceiverAdapter.
An adapter for the MessageReceiver, provides empty implementations of message receive methods
MessageReceiverAdapter() - Constructor for class com.kenmccrary.jtella.MessageReceiverAdapter
 

N

NetworkConnection - class com.kenmccrary.jtella.NetworkConnection.
The NetworkConnection represents a connection to the GNUTella network.
NetworkConnection(String, int) - Constructor for class com.kenmccrary.jtella.NetworkConnection
Construct the Connection;
NetworkFile - class com.kenmccrary.jtella.NetworkFile.
Represents information about a file found on the network

P

PingMessage - class com.kenmccrary.jtella.PingMessage.
GNUTella Ping message
PingMessage() - Constructor for class com.kenmccrary.jtella.PingMessage
Ping message queries for hosts No payload on this message
PongMessage - class com.kenmccrary.jtella.PongMessage.
PONG message, reply to Ping provides information about running Tellas
PushMessage - class com.kenmccrary.jtella.PushMessage.
Push message

R

receiveSearch(SearchMessage) - Method in interface com.kenmccrary.jtella.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 com.kenmccrary.jtella.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) - Method in interface com.kenmccrary.jtella.MessageReceiver
Implement to receive a message reply
receiveSearchReply(SearchReplyMessage) - Method in class com.kenmccrary.jtella.MessageReceiverAdapter
Implement to receive a message reply, the default implementation does nothing
removeConnectionListener(ConnectionListener) - Method in class com.kenmccrary.jtella.NetworkConnection
Removes a listener interested in connection information
run() - Method in class com.kenmccrary.jtella.NetworkConnection
Run the connection thread

S

search(String, int, int) - Method in class com.kenmccrary.jtella.SearchSession
Starts a search on the GNUTella network
SearchMessage - class com.kenmccrary.jtella.SearchMessage.
GNUTella search message
SearchMessage(String, int) - Constructor for class com.kenmccrary.jtella.SearchMessage
Construct a GNUTella search query
SearchMonitorSession - class com.kenmccrary.jtella.SearchMonitorSession.
Represents a Query monitor session
SearchReplyMessage - class com.kenmccrary.jtella.SearchReplyMessage.
Search Reply message, response to a search request
SearchReplyMessage.FileRecord - class com.kenmccrary.jtella.SearchReplyMessage.FileRecord.
Information about the files returned in this request
SearchSession - class com.kenmccrary.jtella.SearchSession.
Represents a Session on a Connection which can be used for GNUTella searchs
start() - Method in class com.kenmccrary.jtella.NetworkConnection
Starts the connection

U

Utilities - class com.kenmccrary.jtella.Utilities.
General purpose utilities
Utilities() - Constructor for class com.kenmccrary.jtella.Utilities
 

A C E G H I M N P R S U