public class HL7Codec extends Object
Modifier and Type | Field and Description |
---|---|
static int |
READ_COMPLETE |
static int |
READ_CONTENT |
static int |
READ_HEADER |
static int |
READ_TRAILER |
static int |
WRITE_COMPLETE |
static int |
WRITE_CONTENT |
static int |
WRITE_HEADER |
static int |
WRITE_TRAILER |
Constructor and Description |
---|
HL7Codec() |
HL7Codec(CharsetDecoder charsetDecoder) |
Modifier and Type | Method and Description |
---|---|
int |
decode(ByteBuffer dst,
MLLPContext context) |
int |
encode(ByteBuffer outBuf,
MLLPContext context) |
CharsetDecoder |
getCharsetDecoder() |
int |
getState() |
boolean |
isReadComplete() |
boolean |
isWriteComplete() |
boolean |
isWriteTrailer() |
void |
setState(int state) |
public static final int READ_HEADER
public static final int READ_CONTENT
public static final int READ_TRAILER
public static final int READ_COMPLETE
public static final int WRITE_HEADER
public static final int WRITE_CONTENT
public static final int WRITE_TRAILER
public static final int WRITE_COMPLETE
public HL7Codec()
public HL7Codec(CharsetDecoder charsetDecoder)
public int decode(ByteBuffer dst, MLLPContext context) throws IOException, MLLProtocolException, ca.uhn.hl7v2.HL7Exception
IOException
MLLProtocolException
ca.uhn.hl7v2.HL7Exception
public int encode(ByteBuffer outBuf, MLLPContext context) throws ca.uhn.hl7v2.HL7Exception, IOException
ca.uhn.hl7v2.HL7Exception
IOException
public boolean isReadComplete()
public boolean isWriteTrailer()
public boolean isWriteComplete()
public int getState()
public void setState(int state)
public CharsetDecoder getCharsetDecoder()
Copyright © 2021 WSO2. All rights reserved.