public class BinaryProtocol
extends java.lang.Object
| Constructor and Description |
|---|
BinaryProtocol(BinaryContext context,
java.util.Collection<BinaryMessageCodec> codecs) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
decodeMessage(DataMessage message) |
DataMessage |
encodeMessage(java.lang.Object message) |
MessageDecoder |
getDecoder() |
MessageEncoder |
getEncoder() |
public BinaryProtocol(BinaryContext context, java.util.Collection<BinaryMessageCodec> codecs)
public MessageEncoder getEncoder()
public MessageDecoder getDecoder()
public java.lang.Object decodeMessage(DataMessage message)
throws java.lang.Exception
java.lang.Exceptionpublic DataMessage encodeMessage(java.lang.Object message)
throws java.lang.Exception
java.lang.Exception
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0