View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.module.client.remoting;
8   
9   import org.mule.api.config.MuleProperties;
10  import org.mule.module.client.RemoteDispatcher;
11  
12  import java.io.Serializable;
13  
14  /**
15   * The message type used for the handshake between the client {@link RemoteDispatcher} and the server
16   * {@link RemoteDispatcherAgent}.
17   */
18  public class ServerHandshake implements Serializable
19  {
20      public static final String SERVER_HANDSHAKE_PROPERTY = MuleProperties.PROPERTY_PREFIX + "CLIENT_HANDSHAKE";
21  
22      private String wireFormatClass;
23  
24      public String getWireFormatClass()
25      {
26          return wireFormatClass;
27      }
28  
29      public void setWireFormatClass(String wireFormatClass)
30      {
31          this.wireFormatClass = wireFormatClass;
32      }
33  }