Package org.elasticsearch.action.percolate

Examples of org.elasticsearch.action.percolate.TransportShardMultiPercolateAction$Request$Item


   
    /**
     * Composite opcode 3 - unredirect window
     */
    public void unredirectWindow(Window window, int update) {
  Request request = new Request (display, major_opcode, 3, 3);
  request.write4 (window.id);
  request.write1 (update);
  request.write1 (0);
  request.write2 (0);
  display.send_request (request);
    }
View Full Code Here


   
    /**
     * Composite opcode 4 - unredirect subwindows
     */
    public void unredirectSubwindows(Window window, int update) {
  Request request = new Request (display, major_opcode, 4, 3);
  request.write4 (window.id);
  request.write1 (update);
  request.write1 (0);
  request.write2 (0);
  display.send_request (request);
    }
View Full Code Here

    /**
     * Composite opcode 7 - GetOverlayWindow
     */
    public long getOverlayWindow (Window win) {
  Request request = new Request (display, major_opcode, 7, 2);
  request.write4 (win.id);

  Data reply = display.read_reply (request);
  if (reply == null) {
      return -1;
  }
View Full Code Here

    // These extension requests expect replies
    XProtocolInfo.extensionRequestExpectsReply(major_opcode, 0, 32); // QueryVersion

    // check version before any other operations
    Request request = new Request (display, major_opcode, 0, 3);
    request.write4 (CLIENT_MAJOR_VERSION);
    request.write4 (CLIENT_MINOR_VERSION);
 
    Data reply = display.read_reply (request);
    server_major_version = reply.read2 (8);
    server_minor_version = reply.read2 (10);
  }
View Full Code Here

#define sz_xXFixesCreateRegionReq  8
*/
  public int X11FixesCreateRegion (Rectangle[] rect, int nrrect) {
    int region = display.allocate_id(this);
    Request request = new Request (display, major_opcode, 5,2 + (nrrect<<2));
    request.write4 (region);      
    if(rect != null)
    {
        for(int i=0; i < nrrect; i++)
        {
           request.write2 (rect[i].x);
           request.write2 (rect[i].y);
           request.write2 (rect[i].width);
           request.write2 (rect[i].height);
        }
    }
    display.send_request (request);
    return region;
  }
View Full Code Here

#define sz_xXFixesCreateRegionFromBitmapReq  12
*/
   public int X11FixesCreateRegionFromBitmap (Pixmap pixmap) {
    int region = display.allocate_id(this);
    Request request = new Request (display, major_opcode, 6,3);
    request.write4 (region);
    request.write4 (pixmap.id);      
   
    display.send_request (request);
    return region;
  }
View Full Code Here

} xXFixesCreateRegionFromWindowReq;
*/

  public int X11FixesCreateRegionFromWindow (Window win,byte kind) {
    int region = display.allocate_id(this);
    Request request = new Request (display, major_opcode, 7,4);
    request.write4 (region);
    request.write4 (win.id);
    request.write1 (kind);   
   
    display.send_request (request);
    return region;
  }
View Full Code Here

} xXFixesDestroyRegionReq;

#define sz_xXFixesDestroyRegionReq  8
*/
  public void X11FixesDestroyRegion (int Region) {   
    Request request = new Request (display, major_opcode, 10,2);
    request.write4 (Region);
   
    display.send_request (request);   
  }
View Full Code Here

} xXFixesSetRegionReq;
#define sz_xXFixesSetRegionReq    8
*/

public void X11FixesSetRegion (int Region, Rectangle[] rect, int nrrect) {   
    Request request = new Request (display, major_opcode, 11,2 + (nrrect<<2));
    request.write4 (Region);
    if(rect != null)
    {
        for(int i=0; i < rect.length; i++)
        {
           request.write2 (rect[i].x);
           request.write2 (rect[i].y);
           request.write2 (rect[i].width);
           request.write2 (rect[i].height);
        }
    }   
   
    display.send_request (request);   
  }
View Full Code Here

#define sz_xXFixesCopyRegionReq    12
*/

  public void X11FixesCopyRegion (int dest, int src) {   
    Request request = new Request (display, major_opcode, 12,3);
    request.write4 (src);
    request.write4 (dest);
   
    display.send_request (request);   
  }
View Full Code Here

TOP

Related Classes of org.elasticsearch.action.percolate.TransportShardMultiPercolateAction$Request$Item

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.