pyrasun.eio.protocols.object
Class EIOObjectReader

java.lang.Object
  extended bypyrasun.eio.protocols.object.EIOObjectReader
All Implemented Interfaces:
EIOWorker

public class EIOObjectReader
extends java.lang.Object
implements EIOWorker

A simple Object reader. Uses a simple protocol to suck in serialized Java objects. It contains a simple concept of a "channel" that objects can be sent over.


Constructor Summary
EIOObjectReader()
           
 
Method Summary
 EIOEvent getWorkerType()
           
 java.lang.Object handleEvent(EIOEvent event, java.lang.Object object, Endpoint genEndpoint)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EIOObjectReader

public EIOObjectReader()
Method Detail

getWorkerType

public EIOEvent getWorkerType()
Specified by:
getWorkerType in interface EIOWorker

handleEvent

public java.lang.Object handleEvent(EIOEvent event,
                                    java.lang.Object object,
                                    Endpoint genEndpoint)
                             throws java.io.IOException
Specified by:
handleEvent in interface EIOWorker
Throws:
java.io.IOException


Pyrasun EmberIO