All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cosylab.epics.caj.cas.requests.SearchFailedRequest Maven / Gradle / Ivy

There is a newer version: 1.1.15
Show newest version
/*
 * Copyright (c) 2004 by Cosylab
 *
 * The full license specifying the redistribution, modification, usage and other
 * rights and obligations is included with the distribution of this project in
 * the file "LICENSE-CAJ". If the license is not included visit Cosylab web site,
 * .
 *
 * THIS SOFTWARE IS PROVIDED AS-IS WITHOUT WARRANTY OF ANY KIND, NOT EVEN THE
 * IMPLIED WARRANTY OF MERCHANTABILITY. THE AUTHOR OF THIS SOFTWARE, ASSUMES
 * _NO_ RESPONSIBILITY FOR ANY CONSEQUENCE RESULTING FROM THE USE, MODIFICATION,
 * OR REDISTRIBUTION OF THIS SOFTWARE.
 */

package com.cosylab.epics.caj.cas.requests;

import com.cosylab.epics.caj.impl.CAConstants;
import com.cosylab.epics.caj.impl.Request;
import com.cosylab.epics.caj.impl.Transport;
import com.cosylab.epics.caj.impl.requests.AbstractCARequest;

/**
 * CA search failed response.
 * @author Matej Sekoranja
 * @version $id$
 */
public class SearchFailedRequest extends AbstractCARequest {

	/**
	 * @param transport
	 */
	public SearchFailedRequest(Transport transport, short minorVersion, int cid, int cid2) {
		super(transport);
		
		requestMessage = insertCAHeader(transport, null,
										(short)14, (short)0, CAConstants.CA_SEARCH_DONTREPLY, minorVersion,
										cid, cid2);
	}

	/**
	 * @see com.cosylab.epics.caj.impl.Request#getPriority()
	 */
	public byte getPriority() {
		return Request.SEND_IMMEDIATELY_PRIORITY;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy