
org.brutusin.rpc.client.action.DelegatingWebsocketAction Maven / Gradle / Ivy
///*
// * Copyright 2016 Ignacio del Valle Alles [email protected].
// *
// * Licensed under the Apache License, Version 2.0 (the "License");
// * you may not use this file except in compliance with the License.
// * You may obtain a copy of the License at
// *
// * http://www.apache.org/licenses/LICENSE-2.0
// *
// * Unless required by applicable law or agreed to in writing, software
// * distributed under the License is distributed on an "AS IS" BASIS,
// * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// * See the License for the specific language governing permissions and
// * limitations under the License.
// */
//package org.brutusin.rpc.client.action;
//
//import java.io.IOException;
//import java.io.InputStream;
//import java.net.URL;
//import java.util.HashMap;
//import java.util.Iterator;
//import java.util.Map;
//import org.brutusin.json.ParseException;
//import org.brutusin.json.spi.JsonCodec;
//import org.brutusin.json.spi.JsonNode;
//import org.brutusin.json.spi.JsonSchema;
//import org.brutusin.rpc.ServiceItem;
//import org.brutusin.rpc.client.http.HttpEndpoint;
//import org.brutusin.rpc.client.http.HttpResponse;
//import org.brutusin.rpc.client.wskt.WebsocketEndpoint;
//import org.brutusin.rpc.http.Cacheable;
//import org.brutusin.rpc.http.HttpAction;
//import org.brutusin.rpc.http.HttpServiceItem;
//import org.brutusin.rpc.http.StreamResult;
//import org.brutusin.rpc.websocket.WebsocketAction;
//
///**
// *
// * @author Ignacio del Valle Alles [email protected]
// */
//public class DelegatingWebsocketAction extends WebsocketAction {
//
// private final WebsocketEndpoint endpoint;
// private final String targetId;
//
// private volatile ServiceItem si;
// private volatile JsonSchema inputSchema;
// private volatile JsonSchema outputSchema;
//
// public DelegatingWebsocketAction(WebsocketEndpoint endpoint, String targetId) {
// this.endpoint = endpoint;
// this.targetId = targetId;
// }
//
// @Override
// public Cacheable
© 2015 - 2025 Weber Informatics LLC | Privacy Policy