C# 클래스 bedrock.net.XEP124Socket

상속: bedrock.net.BaseSocket, IHttpSocket, IElementSocket, ISocketEventListener
파일 보기 프로젝트 열기: PersonifyInc/jabber-net 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
ENC System.Text.Encoding

Private Properties

프로퍼티 타입 설명
CreateOpenBodyTag jabber.protocol.stream.Body
Enqueue void
FakeReceivedStream bool
FakeTimer void
GetSocket HttpSocket
ISocketEventListener ISocketEventListener
ISocketEventListener bool
ISocketEventListener bool
ISocketEventListener bool
ISocketEventListener void
ISocketEventListener void
ISocketEventListener void
ProcessThread void

공개 메소드들

메소드 설명
Accept ( Address addr, int backlog ) : void

Accept a socket. Not implemented.

Close ( ) : void

Stop polling.

Connect ( Address addr ) : void

Start polling

RequestAccept ( ) : void

Not implemented

RequestRead ( ) : void

Start reading.

RestartStream ( ) : void

Restart stream Reference XEP-0206, Section 5

StartCompression ( ) : void

Start compression over this connection. Not implemented.

StartTLS ( ) : void

Start TLS over this connection. Not implemented.

ToString ( ) : string

Descripton, including URL.

Write ( XmlElement elem ) : void

Write an XML element to the socket. In this case, the element is queued, so that the write thread can pick it up.

Write ( byte buf, int offset, int len ) : void

Send bytes to the jabber server

XEP124Socket ( ISocketEventListener listener ) : System

Create an instance

비공개 메소드들

메소드 설명
CreateOpenBodyTag ( ) : jabber.protocol.stream.Body
Enqueue ( XmlElement elem ) : void
FakeReceivedStream ( ) : bool
FakeTimer ( object state ) : void
GetSocket ( ) : HttpSocket
ISocketEventListener ( bedrock.net.BaseSocket newSock ) : ISocketEventListener
ISocketEventListener ( bedrock.net.BaseSocket newsocket ) : bool
ISocketEventListener ( bedrock.net.BaseSocket sock, X509Certificate certificate, X509Chain chain, System sslPolicyErrors ) : bool
ISocketEventListener ( bedrock.net.BaseSocket sock, byte buf, int offset, int length ) : bool
ISocketEventListener ( bedrock.net.BaseSocket sock ) : void
ISocketEventListener ( bedrock.net.BaseSocket sock, Exception ex ) : void
ISocketEventListener ( bedrock.net.BaseSocket sock, byte buf, int offset, int length ) : void
ProcessThread ( ) : void

메소드 상세

Accept() 공개 메소드

Accept a socket. Not implemented.
public Accept ( Address addr, int backlog ) : void
addr Address
backlog int
리턴 void

Close() 공개 메소드

Stop polling.
public Close ( ) : void
리턴 void

Connect() 공개 메소드

Start polling
public Connect ( Address addr ) : void
addr Address Ignored in this case. Set URL.
리턴 void

RequestAccept() 공개 메소드

Not implemented
public RequestAccept ( ) : void
리턴 void

RequestRead() 공개 메소드

Start reading.
public RequestRead ( ) : void
리턴 void

RestartStream() 공개 메소드

Restart stream Reference XEP-0206, Section 5
public RestartStream ( ) : void
리턴 void

StartCompression() 공개 메소드

Start compression over this connection. Not implemented.
public StartCompression ( ) : void
리턴 void

StartTLS() 공개 메소드

Start TLS over this connection. Not implemented.
public StartTLS ( ) : void
리턴 void

ToString() 공개 메소드

Descripton, including URL.
public ToString ( ) : string
리턴 string

Write() 공개 메소드

Write an XML element to the socket. In this case, the element is queued, so that the write thread can pick it up.
public Write ( XmlElement elem ) : void
elem System.Xml.XmlElement
리턴 void

Write() 공개 메소드

Send bytes to the jabber server
public Write ( byte buf, int offset, int len ) : void
buf byte
offset int
len int
리턴 void

XEP124Socket() 공개 메소드

Create an instance
public XEP124Socket ( ISocketEventListener listener ) : System
listener ISocketEventListener
리턴 System

프로퍼티 상세

ENC 보호되어 있는 정적으로 프로퍼티

Text encoding. Always UTF-8 for XMPP.
protected static Encoding,System.Text ENC
리턴 System.Text.Encoding