com.sleepycat.je.rep.impl.networkRestore
Class Protocol.FileReq

java.lang.Object
  extended by com.sleepycat.je.rep.utilint.BinaryProtocol.Message
      extended by com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
          extended by com.sleepycat.je.rep.impl.networkRestore.Protocol.FileReq
All Implemented Interfaces:
BinaryProtocol.WireFormatable
Direct Known Subclasses:
Protocol.FileInfoReq
Enclosing class:
Protocol

public class Protocol.FileReq
extends BinaryProtocol.SimpleMessage

Requests that a specific file be sent to the client.


Field Summary
protected  String fileName
           
 
Constructor Summary
Protocol.FileReq(ByteBuffer buffer)
           
Protocol.FileReq(String fileName)
           
 
Method Summary
 String getFileName()
           
 BinaryProtocol.MessageOp getOp()
           
 ByteBuffer wireFormat()
          The default message consists of the operation enum and just a 0 length size.
 
Methods inherited from class com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
getBoolean, getByteArray, getDouble, getEnum, getNameIdPair, getRepNodeImplArray, getStringArray, getVLSN, wireFormat
 
Methods inherited from class com.sleepycat.je.rep.utilint.BinaryProtocol.Message
allocateInitializedBuffer, match, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fileName

protected final String fileName
Constructor Detail

Protocol.FileReq

public Protocol.FileReq(String fileName)

Protocol.FileReq

public Protocol.FileReq(ByteBuffer buffer)
Method Detail

getOp

public BinaryProtocol.MessageOp getOp()
Specified by:
getOp in class BinaryProtocol.Message

wireFormat

public ByteBuffer wireFormat()
Description copied from class: BinaryProtocol.Message
The default message consists of the operation enum and just a 0 length size.

Specified by:
wireFormat in interface BinaryProtocol.WireFormatable
Overrides:
wireFormat in class BinaryProtocol.Message

getFileName

public String getFileName()


Copyright (c) 2004-2012 Oracle. All rights reserved.