PageRenderTime 31ms CodeModel.GetById 26ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/protocols/jain-megaco/megaco-api/src/main/java/javax/megaco/MegacoStack.java

http://mobicents.googlecode.com/
Java | 25 lines | 12 code | 5 blank | 8 comment | 0 complexity | 3146b2fbc0363fc269966ddbc896b117 MD5 | raw file
 1package javax.megaco;
 2
 3/**
 4 * This interface defines the methods that are required to represent a
 5 * proprietary JAIN MEGACO protocol stack, the implementation of which will be
 6 * vendor-specific. Methods are defined for creating and deleting instances of a
 7 * MegacoProvider.
 8 * 
 9 * 
10 */
11public interface MegacoStack {
12	public MegacoProvider createProvider()
13			throws javax.megaco.CreateProviderException;
14
15	public void deleteProvider(MegacoProvider MegacoProvider)
16			throws javax.megaco.DeleteProviderException;
17
18	public MegacoProvider getProvider(int assocHandle)
19			throws javax.megaco.NonExistentAssocException;
20
21	public java.lang.String getProtocolVersion();
22
23	public void setProtocolVersion(java.lang.String protocolVersion)
24			throws javax.megaco.VersionNotSupportedException;
25}