Package org.hxzon.asn1.mms.common

Examples of org.hxzon.asn1.mms.common.FileName


//    newFileName  [1] IMPLICIT FileName
//    }
    public BerNode create(int tag, BerInputStream stream) {
        switch (tag) {
        case Tag.CONTEXT | 0:
            return new FileName().init("currentFileName", "currentFileName", tag, stream);
        case Tag.CONTEXT | 1:
            return new FileName().init("newFileName", "newFileName", tag, stream);
        default:
            return Asn1Utils.createUnknown(tag, stream);
        }
    }
View Full Code Here


            return Asn1Utils.createBerInteger32("fileClose", "fileClose", tag, stream);
        case Tag.CONTEXT | 75:
            return new FileRenameRequest().init("fileRename", "fileRename", tag, stream);
        case Tag.CONTEXT | 76:
            //FileDelete-Request ::= FileName
            return new FileName().init("fileDelete", "fileDelete", tag, stream);
        case Tag.CONTEXT | 77:
            return new FileDirectoryRequest().init("fileDirectory", "fileDirectory", tag, stream);
        default:
            return Asn1Utils.createUnknown(tag, stream);
        }
View Full Code Here

        case Tag.CONTEXT | 1:
            return Asn1Utils.createBerSequenceOf("listOfCapabilities", "listOfCapabilities", tag, stream, BerVisibleString.class);
        case Tag.CONTEXT | 2:
            return Asn1Utils.createBerBoolean("sharable", "sharable", tag, stream);
        case Tag.CONTEXT | 4:
            return new FileName().init("fileName", "fileName", tag, stream);
        case Tag.CONTEXT | 5:
            return new ApplicationReference().init("thirdParty", "thirdParty", tag, stream);
        default:
            return Asn1Utils.createUnknown(tag, stream);
        }
View Full Code Here

//    initialPosition  [1] IMPLICIT Unsigned32
//    }
    public BerNode create(int tag, BerInputStream stream) {
        switch (tag) {
        case Tag.CONTEXT | 0:
            return new FileName().init("fileName", "fileName", tag, stream);
        case Tag.CONTEXT | 1:
            return Asn1Utils.createBerUnsigned32("initialPosition", "initialPosition", tag, stream);
        default:
            return Asn1Utils.createUnknown(tag, stream);
        }
View Full Code Here

//    fileAttributes    [1] IMPLICIT FileAttributes
//    }
    public BerNode create(int tag, BerInputStream stream) {
        switch (tag) {
        case Tag.CONTEXT | 0:
            return new FileName().init("filename", "filename", tag, stream);
        case Tag.CONTEXT | 1:
            return new FileAttributes().init("fileAttributes", "fileAttributes", tag, stream);
        default:
            return Asn1Utils.createUnknown(tag, stream);
        }
View Full Code Here

        case Tag.CONTEXT | 1:
            return Asn1Utils.createBerSequenceOf("listOfCapabilities", "listOfCapabilities", tag, stream, BerVisibleString.class);
        case Tag.CONTEXT | 2:
            return Asn1Utils.createBerBoolean("sharable", "sharable", tag, stream);
        case Tag.CONTEXT | 4:
            return new FileName().init("fileName", "fileName", tag, stream);
        default:
            return Asn1Utils.createUnknown(tag, stream);
        }
    }
View Full Code Here

//    continueAfter    [1] IMPLICIT FileName OPTIONAL
//    }
    public BerNode create(int tag, BerInputStream stream) {
        switch (tag) {
        case Tag.CONTEXT | 0:
            return new FileName().init("fileSpecification", "fileSpecification", tag, stream);
        case Tag.CONTEXT | 1:
            return new FileName().init("continueAfter", "continueAfter", tag, stream);
        default:
            return Asn1Utils.createUnknown(tag, stream);
        }
    }
View Full Code Here

    public BerNode create(int tag, BerInputStream stream) {
        switch (tag) {
        case Tag.CONTEXT | 0:
            return new Identifier().init("domainName", "domainName", tag, stream);
        case Tag.CONTEXT | 1:
            return new FileName().init("fileName", "fileName", tag, stream);
        case Tag.CONTEXT | 2:
            return new ApplicationReference().init("thirdParty", "thirdParty", tag, stream);
        default:
            return Asn1Utils.createUnknown(tag, stream);
        }
View Full Code Here

    public BerNode create(int tag, BerInputStream stream) {
        switch (tag) {
        case Tag.CONTEXT | 0:
            return new Identifier().init("domainName", "domainName", tag, stream);
        case Tag.CONTEXT | 1:
            return new FileName().init("fileName", "fileName", tag, stream);
        default:
            return Asn1Utils.createUnknown(tag, stream);
        }
    }
View Full Code Here

    public BerNode create(int tag, BerInputStream stream) {
        switch (tag) {
        case Tag.CONTEXT | 0:
            return new ApplicationReference().init("sourceFileServer", "sourceFileServer", tag, stream);
        case Tag.CONTEXT | 1:
            return new FileName().init("sourceFile", "sourceFile", tag, stream);
        case Tag.CONTEXT | 2:
            return new FileName().init("destinationFile", "destinationFile", tag, stream);
        default:
            return Asn1Utils.createUnknown(tag, stream);
        }
    }
View Full Code Here

TOP

Related Classes of org.hxzon.asn1.mms.common.FileName

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.