// Path: bundles/org.eclipse.ecf.provider.direct/src/org/eclipse/ecf/provider/direct/ExternalCallableEndpoint.java
// public interface ExternalCallableEndpoint {
// 
// 	byte[] _call_endpoint(Long rsId, String methodName, byte[] serializedArgs) throws Exception;
// 
// }


import org.eclipse.ecf.provider.direct.ExternalCallableEndpoint;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.protobuf.InvalidProtocolBufferException;
import com.google.protobuf.Message;
import com.google.protobuf.Parser;
/*******************************************************************************
 * Copyright (c) 2017 Composent, Inc. and others. All rights reserved. This
 * program and the accompanying materials are made available under the terms of
 * the Eclipse Public License v1.0 which accompanies this distribution, and is
 * available at http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors: Composent, Inc. - initial API and implementation
 ******************************************************************************/
package org.eclipse.ecf.provider.direct.protobuf;



public class ProtobufCallableEndpointImpl implements ProtobufCallableEndpoint {

	private Logger timingLogger = LoggerFactory.getLogger("timing.org.eclipse.ecf.provider.direct.protobuf");

	private ExternalCallableEndpoint eceService;

// Path: bundles/org.eclipse.ecf.provider.direct/src/org/eclipse/ecf/provider/direct/ExternalCallableEndpoint.java
// public interface ExternalCallableEndpoint {
// 
// 	byte[] _call_endpoint(Long rsId, String methodName, byte[] serializedArgs) throws Exception;
// 
// }


// Path: bundles/org.eclipse.ecf.provider.direct.protobuf/src/org/eclipse/ecf/provider/direct/protobuf/ProtobufCallableEndpointImpl.java
import org.eclipse.ecf.provider.direct.ExternalCallableEndpoint;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.protobuf.InvalidProtocolBufferException;
import com.google.protobuf.Message;
import com.google.protobuf.Parser;

/*******************************************************************************
 * Copyright (c) 2017 Composent, Inc. and others. All rights reserved. This
 * program and the accompanying materials are made available under the terms of
 * the Eclipse Public License v1.0 which accompanies this distribution, and is
 * available at http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors: Composent, Inc. - initial API and implementation
 ******************************************************************************/
package org.eclipse.ecf.provider.direct.protobuf;



public class ProtobufCallableEndpointImpl implements ProtobufCallableEndpoint {

	private Logger timingLogger = LoggerFactory.getLogger("timing.org.eclipse.ecf.provider.direct.protobuf");

	private ExternalCallableEndpoint eceService;

	public void bindExternalCallableEndpoint(ExternalCallableEndpoint cbv) {