Package org.jboss.marshalling

Examples of org.jboss.marshalling.SimpleDataOutput


    private FlushableDataOutputImpl(SimpleDataOutput output) {
        this.output = output;
    }

    static FlushableDataOutputImpl create(MessageOutputStream output) {
        return new FlushableDataOutputImpl(new SimpleDataOutput(Marshalling.createByteOutput(output)));
    }
View Full Code Here


        }
        ROOT_LOGGER.tracef("Closing %s by sending bye bye", this);
        ManagementByeByeHeader byeByeHeader = new ManagementByeByeHeader(ManagementProtocol.VERSION);

        try {
            SimpleDataOutput out = new SimpleDataOutput(Marshalling.createByteOutput(writeMessage()));
            try {
                byeByeHeader.write(out);
            } finally {
                IoUtils.safeClose(out);
            }
View Full Code Here

    }

    private void sendHeaderAndCloseOnError(ManagementProtocolHeader header) {
        boolean ok = false;
        try {
            SimpleDataOutput out = new SimpleDataOutput(Marshalling.createByteOutput(writeMessage()));
            try {
                header.write(out);
                ok = true;
            }finally {
                IoUtils.safeClose(out);
View Full Code Here

*/
public class SimpleByteDataOutput extends OutputStream implements ByteDataOutput {
    private final SimpleDataOutput output;

    public SimpleByteDataOutput(final OutputStream outputStream) {
        this.output = new SimpleDataOutput(Marshalling.createByteOutput(outputStream));
    }
View Full Code Here

TOP

Related Classes of org.jboss.marshalling.SimpleDataOutput

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.