Package eu.admire.ogsadai.binary

Examples of eu.admire.ogsadai.binary.ObjectInputStream


            while (true)
            {
                Object block = input.read();
                if (block instanceof ObjectInputStream)
                {
                    ObjectInputStream obj = (ObjectInputStream) block;
                    ObjectSerialiser ser = mSerialisers.getSerialiser(obj.getType());
                    if (ser == null)
                    {
                        LOG.debug("No serialiser for type: " + obj.getType());
                        throw new ActivityProcessingException(
                                new MissingSerialiserException(obj.getType()));
                    }
                    ser.deserialise(obj.getInput(), result);
                }
                else
                {
                    result.write(block);
                }
View Full Code Here

TOP

Related Classes of eu.admire.ogsadai.binary.ObjectInputStream

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.