Class DFSReferral
java.lang.Object
com.hierynomus.msdfsc.messages.DFSReferral
- Direct Known Subclasses:
DFSReferralV1, DFSReferralV2, DFSReferralV34
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Field Summary
FieldsModifier and TypeFieldDescription(package private) String(package private) Stringprotected String(package private) longprivate DFSReferral.ServerType(package private) String(package private) intprivate int -
Constructor Summary
ConstructorsConstructorDescriptionDFSReferral(int version, DFSReferral.ServerType serverType, int referralEntryFlags) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract int(package private) static DFSReferralgetPath()longintgetTtl()int(package private) final DFSReferral(package private) StringreadOffsettedString(SMBBuffer buffer, int referralStart, int offset) protected abstract voidreadReferral(SMBBuffer buffer, int referralStartPos) voidsetDfsPath(String dfsPath) toString()(package private) abstract voidwriteOffsettedData(SMBBuffer buffer) (package private) abstract intwriteReferral(SMBBuffer buffer, int entryStartPos, int bufferDataOffset) (package private) final int
-
Field Details
-
Constructor Details
-
DFSReferral
DFSReferral() -
DFSReferral
DFSReferral(int version, DFSReferral.ServerType serverType, int referralEntryFlags)
-
-
Method Details
-
toString
-
readReferral
protected abstract void readReferral(SMBBuffer buffer, int referralStartPos) throws Buffer.BufferException - Throws:
Buffer.BufferException
-
factory
- Throws:
Buffer.BufferException
-
readOffsettedString
String readOffsettedString(SMBBuffer buffer, int referralStart, int offset) throws Buffer.BufferException - Throws:
Buffer.BufferException
-
read
- Throws:
Buffer.BufferException
-
writeTo
-
writeReferral
-
writeOffsettedData
-
determineSize
protected abstract int determineSize() -
getVersionNumber
public int getVersionNumber() -
getTtl
public int getTtl() -
getServerType
-
getReferralEntryFlags
public long getReferralEntryFlags() -
getPath
-
getDfsPath
-
getDfsAlternatePath
-
getSpecialName
-
getExpandedNames
-
setDfsPath
-