Java Doc for ListeningPoint.java in  » 6.0-JDK-Modules » Java-Advanced-Imaging » javax » sip » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » Java Advanced Imaging » javax.sip 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.sip.ListeningPoint

ListeningPoint
public interface ListeningPoint extends Cloneable,Serializable(Code)
This interface represents a unique IP network listening point, which consists of port transport and IP. A ListeningPoint is a Java representation of the socket that a SipProvider messaging entity uses to send and receive messages.

The ListeningPoint also includes an optional sent-by string parameter. If set, this string will be placed in the sent-by parameter of the top most Via header of outgoing requests.
author:
   BEA Systems, NIST
version:
   1.2



Field Summary
final public static  intPORT_5060
     Port Constant: Default port 5060.
final public static  intPORT_5061
     Port Constant: Default port 5061.
final public static  StringSCTP
    
final public static  StringTCP
    
final public static  StringTLS
    
final public static  StringUDP
    


Method Summary
public  booleanequals(Object obj)
     This method indicates whether the specified object is equal to this Listening Point.
public  StringgetIPAddress()
     Gets the IP of the ListeningPoint.
public  intgetPort()
     Gets the port of the ListeningPoint.
public  StringgetSentBy()
     Gets the sentBy attribute of the ListeningPoint.
public  StringgetTransport()
     Gets the transport of the ListeningPoint.
public  voidsetSentBy(String sentBy)
     Sets the sentBy string for this ListeningPoint.

Field Detail
PORT_5060
final public static int PORT_5060(Code)
Port Constant: Default port 5060. This constant should only be used when the transport of the ListeningPoint is set to UDP, TCP or SCTP.



PORT_5061
final public static int PORT_5061(Code)
Port Constant: Default port 5061. This constant should only be used when the transport of the Listening Point is set to TLS over TCP or TCP assuming the scheme is "sips".



SCTP
final public static String SCTP(Code)
Transport constant: SCTP



TCP
final public static String TCP(Code)
Transport constant: TCP



TLS
final public static String TLS(Code)
Transport constant: TLS over TCP



UDP
final public static String UDP(Code)
Transport constant: UDP





Method Detail
equals
public boolean equals(Object obj)(Code)
This method indicates whether the specified object is equal to this Listening Point. The specified object is equal to this ListeningPoint if the specified object is a ListeningPoint and the transport and port in the specified Listening Point is the same as this Listening Point.
Parameters:
  obj - the object with which to compare this ListeningPoint. true if this ListeningPoint is "equal to" the obj argument;false otherwise.



getIPAddress
public String getIPAddress()(Code)
Gets the IP of the ListeningPoint.
since:
   v1.2 the string value of the IP address.



getPort
public int getPort()(Code)
Gets the port of the ListeningPoint. The default port of a ListeningPoint is dependent on the scheme and transport. For example:
  • The default port is 5060, if the transport UDP and the scheme is sip:.
  • The default port is 5060, if the transport is TCP and the scheme is sip:.
  • The default port is 5060, if the transport is SCTP and the scheme is sip:.
  • The default port is 5061, if the transport is TLS over TCP and the scheme is sip:.
  • The default port is 5061, if the transport is TCP and the scheme is sips:.
the integer value of the port.



getSentBy
public String getSentBy()(Code)
Gets the sentBy attribute of the ListeningPoint. the string value of the sentBy attribute.
since:
   v1.2



getTransport
public String getTransport()(Code)
Gets the transport of the ListeningPoint. the string value of the transport.



setSentBy
public void setSentBy(String sentBy) throws ParseException(Code)
Sets the sentBy string for this ListeningPoint. The sentBy String is placed in the top most Via header of outgoing requests. This parameter is optional and if it is not set, the top most Via header will use the IP address and port assigned to the listening point for the sentBy field.
Parameters:
  sentBy - the sentBy string to be set in requests top most Via headers.
throws:
  ParseException - which signals that an error has been reachedunexpectedly while parsing the sentBy value.
since:
   v1.2



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.