PenProfile 2.x

com.livescribe.event
Interface RequestListener


public interface RequestListener

This interface enables a penlet to respond to requests sent by other penlets.

Since:
2.5

Method Summary
 byte[] onRequest(byte[] data)
          Processes a request.
 

Method Detail

onRequest

byte[] onRequest(byte[] data)
Processes a request. It is up to the application implementing this interface to define the protocol.

Parameters:
data - the received data
Returns:
data, the format for which is defined by the application, possibly null.

PenProfile 2.x

Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.