netcom.mds
Class ReturnRequest

java.lang.Object
  extended bynetcom.mds.AbstractRequest
      extended bynetcom.mds.ReturnRequest
All Implemented Interfaces:
java.io.Serializable

public final class ReturnRequest
extends AbstractRequest

Title: Return Request

Description: This represents a return of matching information following a search.

Copyright: Copyright (c) 2002

Company: NETCOM

See Also:
Serialized Form

Field Summary
 java.lang.String orig_search_id
           
 AbstractShare[] return_shares
          An Array of AbstractShares is kept to represent many matched shares This is kept as an array and not an object to minimize the size of a ReturnRequest
 java.lang.String yaup_message_id
          This is the original searches yaup_message_id
 
Fields inherited from class netcom.mds.AbstractRequest
socket_originator
 
Constructor Summary
ReturnRequest(SearchRequest search_request, AbstractShare[] return_shares)
          Constructor for a ReturnRequest which takes all the necessary internal information to form a working ReturnRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

return_shares

public final AbstractShare[] return_shares
An Array of AbstractShares is kept to represent many matched shares This is kept as an array and not an object to minimize the size of a ReturnRequest


yaup_message_id

public final java.lang.String yaup_message_id
This is the original searches yaup_message_id


orig_search_id

public final java.lang.String orig_search_id
Constructor Detail

ReturnRequest

public ReturnRequest(SearchRequest search_request,
                     AbstractShare[] return_shares)
Constructor for a ReturnRequest which takes all the necessary internal information to form a working ReturnRequest

Parameters:
search_request - the originating search request, which has the routing information to get this return back correctly
return_shares - the array of matched abstract shares