com.cosylab.epics.caj.impl.requests
Class CreateChannelRequest

java.lang.Object
  extended by com.cosylab.epics.caj.impl.requests.AbstractCARequest
      extended by com.cosylab.epics.caj.impl.requests.CreateChannelRequest
All Implemented Interfaces:
Request

public class CreateChannelRequest
extends AbstractCARequest

Version:
$id$
Author:
Matej Sekoranja

Field Summary
protected  int cid
          Client channel ID.
 
Fields inherited from class com.cosylab.epics.caj.impl.requests.AbstractCARequest
requestMessage, transport
 
Fields inherited from interface com.cosylab.epics.caj.impl.Request
DEFAULT_USER_PRIORITY, MAX_USER_PRIORITY, MIN_USER_PRIORITY, SEND_IMMEDIATELY_PRIORITY
 
Constructor Summary
CreateChannelRequest(Transport transport, String channelName, int cid)
           
 
Method Summary
 byte getPriority()
          Return default priority.
 void submit()
          If sync.
 
Methods inherited from class com.cosylab.epics.caj.impl.requests.AbstractCARequest
alignBuffer, calculateAlignedSize, generateRequestMessage, getRequestMessage, insertCAHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cid

protected int cid
Client channel ID.

Constructor Detail

CreateChannelRequest

public CreateChannelRequest(Transport transport,
                            String channelName,
                            int cid)
Parameters:
transport -
channelName -
cid -
Method Detail

submit

public void submit()
            throws IOException
If sync. request (i.e. w/o callback), additionally increment context pending requests.

Specified by:
submit in interface Request
Overrides:
submit in class AbstractCARequest
Throws:
IOException
See Also:
Request.submit()

getPriority

public byte getPriority()
Description copied from class: AbstractCARequest
Return default priority.

Specified by:
getPriority in interface Request
Overrides:
getPriority in class AbstractCARequest
Returns:
request priority.
See Also:
Request.getPriority()


Copyright © 2004-2013 Cosylab. All Rights Reserved.