com.kenmccrary.jtella
Class SearchReplyMessage

java.lang.Object
  |
  +--com.kenmccrary.jtella.Message
        |
        +--com.kenmccrary.jtella.SearchReplyMessage

public class SearchReplyMessage
extends com.kenmccrary.jtella.Message

Search Reply message, response to a search request


Inner Class Summary
 class SearchReplyMessage.FileRecord
          Information about the files returned in this request
 
Fields inherited from class com.kenmccrary.jtella.Message
guid, hops, payload, payloadSize, SIZE, ttl, type
 
Method Summary
 int getFileCount()
          Query the umber of files found for the search
 SearchReplyMessage.FileRecord getFileRecord(int index)
          Get information about the files found
 java.lang.String getIPAddress()
          Query the IP address for this pong message result is an IP address in the form of "206.26.48.100".
 int getPort()
          Query the port for this search reply
 
Methods inherited from class com.kenmccrary.jtella.Message
getByteArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getFileCount

public int getFileCount()
Query the umber of files found for the search

getPort

public int getPort()
Query the port for this search reply
Returns:
port

getIPAddress

public java.lang.String getIPAddress()
Query the IP address for this pong message result is an IP address in the form of "206.26.48.100".
Returns:
IP address

getFileRecord

public SearchReplyMessage.FileRecord getFileRecord(int index)
Get information about the files found