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

com.ericsson.mts.nas.registry.Messages Maven / Gradle / Ivy

Go to download

A library to encode and decode NAS protocol data, from and to other formats, like XML

There is a newer version: 0.0.15
Show newest version
package com.ericsson.mts.nas.registry;

import com.ericsson.mts.nas.message.AbstractMessage;

import java.util.List;

public class Messages {
    private List messages;

    public void addMessage(AbstractMessage message){
        messages.add(message);
    }

    public AbstractMessage getMessage(String messageName){
        for(AbstractMessage message : messages){
            if(messageName.equals(message.name)){
                return message;
            }
        }
        return null;
    }

    public List getMessages() {
        return messages;
    }

    public void setMessages(List messages) {
        this.messages = messages;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy