ostore.dtree
Class LeaveTreeResp

java.lang.Object
  |
  +--ostore.dtree.DTreeResp
        |
        +--ostore.dtree.LeaveTreeResp
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class LeaveTreeResp
extends DTreeResp

Messages dispatched by a DTreeNode responding to LeaveTreeReq message.

Version:
$Id: LeaveTreeResp.java,v 1.9 2002/07/29 18:48:53 geels Exp $
Author:
Dennis Geels

Field Summary
 
Fields inherited from class ostore.dtree.DTreeResp
DENIED, digest, error_code, NO_ERROR, NOT_OPEN, req_digest, tree_id, UNKNOWN_TREE, UNREACHABLE
 
Constructor Summary
LeaveTreeResp(InputBuffer buffer)
          Constructs a LeaveTreeResp from its serialized form.
LeaveTreeResp(LeaveTreeReq req)
          Creates a new (successful) LeaveTreeResp.
LeaveTreeResp(LeaveTreeReq req, int error_code)
          Creates a new (failed) LeaveTreeResp.
 
Methods inherited from class ostore.dtree.DTreeResp
get_digest, get_error_code, get_req_digest, get_tree_id, hashCode, serialize, successful, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LeaveTreeResp

public LeaveTreeResp(LeaveTreeReq req)
Creates a new (successful) LeaveTreeResp.

Parameters:
req - the corresponding LeaveTreeReq.

LeaveTreeResp

public LeaveTreeResp(LeaveTreeReq req,
                     int error_code)
Creates a new (failed) LeaveTreeResp.

Parameters:
req - the corresponding LeaveTreeReq.
error_code - the reason the request failed.

LeaveTreeResp

public LeaveTreeResp(InputBuffer buffer)
              throws QSException
Constructs a LeaveTreeResp from its serialized form.