DJAVA

au.gov.aao.drama
Class DramaPath.Buffers

java.lang.Object
  extended by au.gov.aao.drama.DramaPath.Buffers
Enclosing class:
DramaPath

public static class DramaPath.Buffers
extends Object

A helper class for defining buffer sizes for use with DramaPath objects.

Author:
Tony Farrell

Constructor Summary
DramaPath.Buffers()
          Create a Buffers item, default values.
DramaPath.Buffers(int MessageBytes)
          Create a Buffers item, MessageBytes specified.
DramaPath.Buffers(int MessageBytes, int MaxMessages)
          Create a Buffers item, MessageBytes and MaxMesssages specified.
DramaPath.Buffers(int MessageBytes, int MaxMessages, int ReplyBytes)
          Create a Buffers item, MessageBytes, MaxMesssages and ReplySize specified.
DramaPath.Buffers(int MessageBytes, int MaxMessages, int ReplyBytes, int MaxReplies)
          Create a Buffers item, all sizes specified.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DramaPath.Buffers

public DramaPath.Buffers()
Create a Buffers item, default values.

Default buffer sizes are messageBytes = 800, maxMessages = 1, replybytes 800, maxReplies = 10. see DitsPathGet(3) for more details


DramaPath.Buffers

public DramaPath.Buffers(int MessageBytes)
Create a Buffers item, MessageBytes specified.

Default buffer sizes are maxMessages = 1, replybytes 800, maxReplies = 10. see DitsPathGet(3) for more details

Parameters:
MessageBytes - The number of bytes to allocate for messages to send to a task.

DramaPath.Buffers

public DramaPath.Buffers(int MessageBytes,
                         int MaxMessages)
Create a Buffers item, MessageBytes and MaxMesssages specified.

Default sizes are replybytes 800, maxReplies = 10. see DitsPathGet(3) for more details

Parameters:
MessageBytes - The number of bytes to allocate for messages to send to a task.
MaxMessages - The maximum number of such messages which may be outstanding at any time.

DramaPath.Buffers

public DramaPath.Buffers(int MessageBytes,
                         int MaxMessages,
                         int ReplyBytes)
Create a Buffers item, MessageBytes, MaxMesssages and ReplySize specified.

Default sizes are maxReplies = 10. see DitsPathGet(3) for more details

Parameters:
MessageBytes - The number of bytes to allocate for messages to send to a task.
MaxMessages - The maximum number of such messages which may be outstanding at any time.
ReplyBytes - The number of bytes to allocate for reply messages.

DramaPath.Buffers

public DramaPath.Buffers(int MessageBytes,
                         int MaxMessages,
                         int ReplyBytes,
                         int MaxReplies)
Create a Buffers item, all sizes specified. see DitsPathGet(3) for more details

Parameters:
MessageBytes - The number of bytes to allocate for messages to send to a task.
MaxMessages - The maximum number of such messages which may be outstanding at any time.
ReplyBytes - The number of bytes to allocate for reply messages.
MaxReplies - The maximum number of such reply messages which may be outstanding at any time.

DJAVA

Click here for the DRAMA home page and here for the AAO home page.

For more information, contact tjf@aaoepp.aao.gov.au.