Package jadex.bridge.component.streams
Class LocalInputConnectionHandler
- java.lang.Object
- 
- jadex.bridge.component.streams.LocalAbstractConnectionHandler
- 
- jadex.bridge.component.streams.LocalInputConnectionHandler
 
 
- 
- All Implemented Interfaces:
- IAbstractConnectionHandler,- IInputConnectionHandler
 
 public class LocalInputConnectionHandler extends LocalAbstractConnectionHandler implements IInputConnectionHandler Local version of the input connection handler.
- 
- 
Field SummaryFields Modifier and Type Field Description protected intmaxstoredThe maximum bytes of data that can be stored in connection (without being consumed).- 
Fields inherited from class jadex.bridge.component.streams.LocalAbstractConnectionHandlercon, conhandler, nonfunc
 
- 
 - 
Constructor SummaryConstructors Constructor Description LocalInputConnectionHandler(java.util.Map<java.lang.String,java.lang.Object> nonfunc)Create new local input connection handler.LocalInputConnectionHandler(java.util.Map<java.lang.String,java.lang.Object> nonfunc, LocalAbstractConnectionHandler conhandler)Create new local input connection handler.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddataReceived(byte[] data)Called by local output connection handler to send data.intgetAllowedSendSize()Get the allowed size that can be accepted (send by the output side).voidnotifyDataRead()Called by connection when user read some data so that other side can continue to send.- 
Methods inherited from class jadex.bridge.component.streams.LocalAbstractConnectionHandlerclose, doClose, getConnection, getConnectionHandler, getConnectionId, getNonFunctionalProperties, initReceived, notifyInited, sendInit, setConnection, setConnectionHandler
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface jadex.bridge.component.streams.IAbstractConnectionHandlerdoClose, getNonFunctionalProperties, notifyInited, sendInit, setConnection
 
- 
 
- 
- 
- 
Constructor Detail- 
LocalInputConnectionHandlerpublic LocalInputConnectionHandler(java.util.Map<java.lang.String,java.lang.Object> nonfunc) Create new local input connection handler.
 - 
LocalInputConnectionHandlerpublic LocalInputConnectionHandler(java.util.Map<java.lang.String,java.lang.Object> nonfunc, LocalAbstractConnectionHandler conhandler)Create new local input connection handler.
 
- 
 - 
Method Detail- 
dataReceivedpublic void dataReceived(byte[] data) Called by local output connection handler to send data.
 - 
notifyDataReadpublic void notifyDataRead() Called by connection when user read some data so that other side can continue to send.- Specified by:
- notifyDataReadin interface- IInputConnectionHandler
 
 - 
getAllowedSendSizepublic int getAllowedSendSize() Get the allowed size that can be accepted (send by the output side).
 
- 
 
-