1 package fulmine.event;
2
3 import fulmine.Domain;
4 import fulmine.Type;
5 import fulmine.model.component.AbstractComponent;
6 import fulmine.protocol.wire.IWireIdentity;
7 import fulmine.protocol.wire.operation.IOperationScope;
8
9
10
11
12
13
14
15
16
17 public final class ImageEvent extends AbstractComponent
18 {
19
20
21 public ImageEvent()
22 {
23 super("ImageEvent", Type.SYSTEM, Domain.FRAMEWORK);
24 }
25
26 @Override
27 protected boolean doReadState(IOperationScope scope, byte[] buffer,
28 int start, int numberOfBytes) throws Exception
29 {
30 return true;
31 }
32
33 @Override
34 protected boolean doWriteState(IOperationScope scope, IWireIdentity wireId,
35 byte[][] headerBuffer, int[] headerBufferPosition, byte[][] dataBuffer,
36 int[] dataBufferPosition, boolean completeState) throws Exception
37 {
38 return true;
39 }
40 }