All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hi3project.broccoli.bsdm.api.serializing.IMessageSerializer Maven / Gradle / Ivy

Go to download

Specification for BSDL, BSDM and basic BSDF. Interfaces and XML descriptors. XML Schema for BSDL.

The newest version!
/*******************************************************************************
 *
 * Copyright (C) 2015 Mytech Ingenieria Aplicada 
 * Copyright (C) 2015 Alejandro Paz 
 *
 * This file is part of Broccoli.
 *
 * Broccoli is free software: you can redistribute it and/or modify it under the
 * terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, either version 3 of the License, or (at your option) any
 * later version.
 *
 * Broccoli is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Broccoli. If not, see .
 *
 ******************************************************************************/

package com.hi3project.broccoli.bsdm.api.serializing;

import com.hi3project.broccoli.bsdl.api.registry.IBSDLRegistry;
import com.hi3project.broccoli.bsdm.api.asyncronous.IMessage;
import com.hi3project.broccoli.bsdm.impl.exceptions.SerializingException;

/**
 * 

Description:

* Interface for a serializer that can serialize and deserialize messages, * converting between text representation and IMessage. * * *

Creation date: * 27-06-2014

* *

Changelog:

*
    *
  • 1 , 27-06-2014 - Initial release
  • *
* * * @version 1 */ public interface IMessageSerializer { public String serializeMessage( IMessage msg, IBSDLRegistry bsdlRegistry) throws SerializingException; public IMessage deserializeMessage( String msg, IBSDLRegistry bsdlRegistry) throws SerializingException; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy