Package de.fu_berlin.inf.dpp.net.internal.StreamServiceManager.StreamMetaPacketData

Examples of de.fu_berlin.inf.dpp.net.internal.StreamServiceManager.StreamMetaPacketData.StreamClose


    protected void closeStream(Stream stream) {
        if (stream.isClosed())
            return;

        StreamSession session = stream.getSession();
        StreamClose closeDescription = new StreamClose(
            stream instanceof InputStream, stream.streamID());

        if (sender != null)
            sender.sendPacket(session.getTransferDescription(),
                StreamMetaPacketData.CLOSE.serializeInto(closeDescription),
View Full Code Here


                    log.warn("Received CLOSE for a session which not exists");
                    return;
                }

                Object o = StreamMetaPacketData.deserializeFrom(data);
                StreamClose closeDesc;
                if (o instanceof StreamClose) {
                    closeDesc = (StreamClose) o;
                } else {
                    log.error("Received unknown object in CLOSE-packet");
                    return;
View Full Code Here

TOP

Related Classes of de.fu_berlin.inf.dpp.net.internal.StreamServiceManager.StreamMetaPacketData.StreamClose

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.