com.kenmccrary.jtella
Class FileServerSession

java.lang.Object
  |
  +--com.kenmccrary.jtella.FileServerSession

public class FileServerSession
extends java.lang.Object

Session that can be used to respond to Query messages and receive Push messages


Method Summary
 void close()
          Closes the session
 void queryHit(SearchMessage request, SearchReplyMessage response)
          An application should call queryHit to indicate that a search query is satisfied
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

close

public void close()
Closes the session

queryHit

public void queryHit(SearchMessage request,
                     SearchReplyMessage response)
An application should call queryHit to indicate that a search query is satisfied
Parameters:
request - search message which has a hit
response - hit information