Java Code Examples for com.alibaba.dubbo.common.Constants#CODEC_KEY

The following examples show how to use com.alibaba.dubbo.common.Constants#CODEC_KEY . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Codec2.java    From dubbox with Apache License 2.0 4 votes vote down vote up
@Adaptive({Constants.CODEC_KEY})
void encode(Channel channel, ChannelBuffer buffer, Object message) throws IOException;
 
Example 2
Source File: Codec2.java    From dubbox with Apache License 2.0 4 votes vote down vote up
@Adaptive({Constants.CODEC_KEY})
Object decode(Channel channel, ChannelBuffer buffer) throws IOException;
 
Example 3
Source File: Codec2.java    From dubbox with Apache License 2.0 4 votes vote down vote up
@Adaptive({Constants.CODEC_KEY})
void encode(Channel channel, ChannelBuffer buffer, Object message) throws IOException;
 
Example 4
Source File: Codec2.java    From dubbox with Apache License 2.0 4 votes vote down vote up
@Adaptive({Constants.CODEC_KEY})
Object decode(Channel channel, ChannelBuffer buffer) throws IOException;
 
Example 5
Source File: Codec2.java    From dubbo3 with Apache License 2.0 4 votes vote down vote up
@Adaptive({Constants.CODEC_KEY})
Object decode(Channel channel, ChannelBuffer buffer) throws IOException;
 
Example 6
Source File: Codec2.java    From dubbo3 with Apache License 2.0 4 votes vote down vote up
@Adaptive({Constants.CODEC_KEY})
void encode(Channel channel, ChannelBuffer buffer, Object message) throws IOException;
 
Example 7
Source File: Codec2.java    From dubbox-hystrix with Apache License 2.0 4 votes vote down vote up
@Adaptive({Constants.CODEC_KEY})
Object decode(Channel channel, ChannelBuffer buffer) throws IOException;
 
Example 8
Source File: Codec2.java    From dubbox with Apache License 2.0 4 votes vote down vote up
@Adaptive({Constants.CODEC_KEY})
Object decode(Channel channel, ChannelBuffer buffer) throws IOException;
 
Example 9
Source File: Codec2.java    From dubbox with Apache License 2.0 4 votes vote down vote up
@Adaptive({Constants.CODEC_KEY})
void encode(Channel channel, ChannelBuffer buffer, Object message) throws IOException;
 
Example 10
Source File: Codec2.java    From dubbo-2.6.5 with Apache License 2.0 4 votes vote down vote up
@Adaptive({Constants.CODEC_KEY})
Object decode(Channel channel, ChannelBuffer buffer) throws IOException;
 
Example 11
Source File: Codec2.java    From dubbo-2.6.5 with Apache License 2.0 4 votes vote down vote up
@Adaptive({Constants.CODEC_KEY})
void encode(Channel channel, ChannelBuffer buffer, Object message) throws IOException;
 
Example 12
Source File: Codec.java    From dubbox-hystrix with Apache License 2.0 2 votes vote down vote up
/**
    * Encode message.
    * 
    * @param channel channel.
    * @param output output stream.
    * @param message message.
    */
@Adaptive({Constants.CODEC_KEY})
   void encode(Channel channel, OutputStream output, Object message) throws IOException;
 
Example 13
Source File: Codec.java    From dubbox-hystrix with Apache License 2.0 2 votes vote down vote up
/**
 * Decode message.
 * 
 * @see #NEED_MORE_INPUT
 * @param channel channel.
 * @param input input stream.
 * @return message or <code>NEED_MORE_INPUT</code> poison.
 */
   @Adaptive({Constants.CODEC_KEY})
Object decode(Channel channel, InputStream input) throws IOException;
 
Example 14
Source File: Codec.java    From dubbo-2.6.5 with Apache License 2.0 2 votes vote down vote up
/**
 * Encode message.
 *
 * @param channel channel.
 * @param output  output stream.
 * @param message message.
 */
@Adaptive({Constants.CODEC_KEY})
void encode(Channel channel, OutputStream output, Object message) throws IOException;
 
Example 15
Source File: Codec.java    From dubbo3 with Apache License 2.0 2 votes vote down vote up
/**
    * Encode message.
    * 
    * @param channel channel.
    * @param output output stream.
    * @param message message.
    */
@Adaptive({Constants.CODEC_KEY})
   void encode(Channel channel, OutputStream output, Object message) throws IOException;
 
Example 16
Source File: Codec.java    From dubbox with Apache License 2.0 2 votes vote down vote up
/**
 * Decode message.
 * 
 * @see #NEED_MORE_INPUT
 * @param channel channel.
 * @param input input stream.
 * @return message or <code>NEED_MORE_INPUT</code> poison.
 */
   @Adaptive({Constants.CODEC_KEY})
Object decode(Channel channel, InputStream input) throws IOException;
 
Example 17
Source File: Codec.java    From dubbox with Apache License 2.0 2 votes vote down vote up
/**
 * Decode message.
 * 
 * @see #NEED_MORE_INPUT
 * @param channel channel.
 * @param input input stream.
 * @return message or <code>NEED_MORE_INPUT</code> poison.
 */
   @Adaptive({Constants.CODEC_KEY})
Object decode(Channel channel, InputStream input) throws IOException;
 
Example 18
Source File: Codec.java    From dubbox with Apache License 2.0 2 votes vote down vote up
/**
    * Encode message.
    * 
    * @param channel channel.
    * @param output output stream.
    * @param message message.
    */
@Adaptive({Constants.CODEC_KEY})
   void encode(Channel channel, OutputStream output, Object message) throws IOException;
 
Example 19
Source File: Codec.java    From dubbox with Apache License 2.0 2 votes vote down vote up
/**
    * Encode message.
    * 
    * @param channel channel.
    * @param output output stream.
    * @param message message.
    */
@Adaptive({Constants.CODEC_KEY})
   void encode(Channel channel, OutputStream output, Object message) throws IOException;
 
Example 20
Source File: Codec.java    From dubbo-2.6.5 with Apache License 2.0 2 votes vote down vote up
/**
 * Decode message.
 *
 * @param channel channel.
 * @param input   input stream.
 * @return message or <code>NEED_MORE_INPUT</code> poison.
 * @see #NEED_MORE_INPUT
 */
@Adaptive({Constants.CODEC_KEY})
Object decode(Channel channel, InputStream input) throws IOException;